Constructor
Parameters: | array|string – The target file path or an options array |
---|
@param string $target Target file path or directory
Return type: | RenameUpload |
---|
Return type: | RenameUpload |
---|
@param boolean $flag Shall existing files be overwritten?
Return type: | RenameUpload |
---|
@param boolean $flag Shall target files have a random postfix attached?
Return type: | RenameUpload |
---|
Defined by ZendFilterFilter
Renames the file $value to the new name set before Returns the file $value, removing all but digit characters
Parameters: | string|array – Full path of file to change or $_FILES data array |
---|---|
Throws ExceptionRuntimeException: | |
Return type: | string|array The new filename which has been set, or false when there were errors |