Свойство | Тип | Описание | |
---|---|---|---|
$file |
Метод | Описание | |
---|---|---|
__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 ) |