Essentially path supplied by user is resolved into real path (see {@link getRealPath}), all the other property
getting methods should use that real path.
Uploaded files are supported through {@link CUploadedFile} Yii class.
Path aliases are supported through {@link getPathOfAlias} Yii method.
public set ( string $filepath, boolean $greedy = False ) : object | ||
$filepath | string | Path to the file specified by user, if not set exception is raised |
$greedy | boolean | If True file properties (such as 'Size', 'Owner', 'Permission', etc.) would be autoloaded |
return | object | CFile instance for the specified filesystem object |