Property | Type | Description | |
---|---|---|---|
$blnHasError | boolean | Error indicator | |
$blnHasResized | boolean | Resized indicator | |
$strName | string | Field name |
Method | Description | |
---|---|---|
__construct ( ) | Make the constructor public | |
generateMarkup ( ) : string | Generate the markup for the default uploader | |
hasError ( ) : boolean | Return true if there was an error | |
hasResized ( ) : boolean | Return true if there was a resized image | |
setName ( string $strName ) | Override the field name | |
uploadTo ( string $strTarget ) : array | Check the uploaded files and move them to the target directory |
Method | Description | |
---|---|---|
getFilesFromGlobal ( ) : array | Get the files from the global $_FILES array | |
getMaximumUploadSize ( ) : string | Return the maximum upload file size in bytes | |
resizeUploadedImage ( string $strImage ) : boolean | Resize an uploaded image if neccessary |
public generateMarkup ( ) : string | ||
return | string |
protected getFilesFromGlobal ( ) : array | ||
return | array |
protected getMaximumUploadSize ( ) : string | ||
return | string |
public hasResized ( ) : boolean | ||
return | boolean |
protected resizeUploadedImage ( string $strImage ) : boolean | ||
$strImage | string | |
return | boolean |