Property | Type | Description | |
---|---|---|---|
$errors | array | Error message container |
Method | Description | |
---|---|---|
checkDirectory ( Phalcon\Http\Request\File $file = null, mixed $value ) : boolean | Check upload directory | |
checkDynamic ( Phalcon\Http\Request\File $file = null, string $directory, integer $permission = 511 ) : boolean | Create Directory if not exist | |
checkExtensions ( Phalcon\Http\Request\File $file, mixed $value ) : boolean | Check file allowed extensions | |
checkMaxsize ( Phalcon\Http\Request\File $file, mixed $value ) : boolean | Check maximum file size | |
checkMimes ( Phalcon\Http\Request\File $file, mixed $value ) : boolean | Check file allowed extensions | |
checkMinsize ( Phalcon\Http\Request\File $file, $value ) : boolean | Check minimum file size |
public checkDirectory ( Phalcon\Http\Request\File $file = null, mixed $value ) : boolean | ||
$file | Phalcon\Http\Request\File | |
$value | mixed | |
return | boolean |
public checkExtensions ( Phalcon\Http\Request\File $file, mixed $value ) : boolean | ||
$file | Phalcon\Http\Request\File | |
$value | mixed | |
return | boolean |
public checkMaxsize ( Phalcon\Http\Request\File $file, mixed $value ) : boolean | ||
$file | Phalcon\Http\Request\File | |
$value | mixed | |
return | boolean |
public checkMimes ( Phalcon\Http\Request\File $file, mixed $value ) : boolean | ||
$file | Phalcon\Http\Request\File | |
$value | mixed | |
return | boolean |
public checkMinsize ( Phalcon\Http\Request\File $file, $value ) : boolean | ||
$file | Phalcon\Http\Request\File | |
$value | ||
return | boolean |