Свойство | Type | Description | |
---|---|---|---|
$blnHasError | boolean | Error indicator | |
$blnHasResized | boolean | Resized indicator | |
$strName | string | Field name |
Méthode | 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 |
Méthode | 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 | ||
Résultat | string |
protected getFilesFromGlobal ( ) : array | ||
Résultat | array |
protected getMaximumUploadSize ( ) : string | ||
Résultat | string |
public hasResized ( ) : boolean | ||
Résultat | boolean |
protected resizeUploadedImage ( string $strImage ) : boolean | ||
$strImage | string | |
Résultat | boolean |
protected bool $blnHasResized | ||
Résultat | boolean |