PHP Class qqFileUploader, poMMo

Afficher le fichier Open project: soonick/poMMo Class Usage Examples

Méthodes publiques

Свойство Type Description
$file

Méthodes publiques

Méthode Description
__construct ( array $allowedExtensions = [], $sizeLimit = 10485760 )
handleUpload ( $uploadDirectory, $replaceOldFile = FALSE ) Returns array('success'=>true) or array('error'=>'error message')

Method Details

__construct() public méthode

public __construct ( array $allowedExtensions = [], $sizeLimit = 10485760 )
$allowedExtensions array

handleUpload() public méthode

Returns array('success'=>true) or array('error'=>'error message')
public handleUpload ( $uploadDirectory, $replaceOldFile = FALSE )

Property Details

$file public_oe property

public $file