$allowedExtensions
$allowedExtensions : array
Private variable to hold allowed file extensions.
Class MainWP_QQ2_File_Uploader
handle_upload(mixed $uploadDirectory, boolean $replaceOldFile = false) : array
Handle the file upload.
mixed | $uploadDirectory | File Upload directory. |
boolean | $replaceOldFile | True|False Weather or not to replace the orignal file or not. |
success'=>true|error'=>'error message'
handleUpload(mixed $uploadDirectory, boolean $replaceOldFile = false) : array
Wrap of the method handle_upload() for compatible.
mixed | $uploadDirectory | File Upload directory. |
boolean | $replaceOldFile | True|False Weather or not to replace the orignal file or not. |
success'=>true|error'=>'error message'