PHP Class qqFileUploader, poMMo

显示文件 Open project: soonick/poMMo Class Usage Examples

Public Properties

Property Type Description
$file

Public Methods

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

Method Details

__construct() public method

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

handleUpload() public method

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

Property Details

$file public_oe property

public $file