프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 ) |