Property | Type | Description | |
---|---|---|---|
$file |
Method | Description | |
---|---|---|
__construct ( array $allowedExtensions = [], $sizeLimit = 10485760 ) | ||
handleUpload ( $uploadDirectory, $replaceOldFile = FALSE ) | Returns array('success'=>true) or array('error'=>'error message') |
public __construct ( array $allowedExtensions = [], $sizeLimit = 10485760 ) | ||
$allowedExtensions | array |
public handleUpload ( $uploadDirectory, $replaceOldFile = FALSE ) |