Image.php
52 $value = FileUtil::fixFilename(FileUtil::realpath(dirname($absValue)).'/'.FileUtil::basename($absValue));
static basename($file)
Get the trailing name component of a path (locale independent)
Definition: FileUtil.php:327
ValidateType defines the interface for all validator classes.
Definition: ValidateType.php:18
FileUtil provides basic support for file functionality like HTTP file upload.
Definition: FileUtil.php:22
static realpath($path)
Realpath function that also works for non existing paths code from http://www.php....
Definition: FileUtil.php:244
validate($value, $options=null, $context=null)
Definition: Image.php:38
static fixFilename($file)
Fix the name of an existing file to be used with php file functions.
Definition: FileUtil.php:286