Méthode | Description | |
---|---|---|
__construct ( $value ) | ||
__toString ( ) : string | Returns the path to an uploaded file. | |
getContentType ( ) : string | null | Returns the MIME content type of an uploaded file. | |
getContents ( ) : string | null | Get file contents. | |
getError ( ) : integer | Returns the error code. {@link http://php.net/manual/en/features.file-upload.errors.php} | |
getImageSize ( ) : array | null | Returns the dimensions of an uploaded image as array. | |
getName ( ) : string | Returns the file name. | |
getSanitizedName ( ) : string | Returns the sanitized file name. | |
getSize ( ) : integer | Returns the size of an uploaded file. | |
getTemporaryFile ( ) : string | Returns the path to an uploaded file. | |
hasFile ( ) : boolean | ||
isImage ( ) : boolean | Is uploaded file GIF, PNG or JPEG? | |
isOk ( ) : boolean | Is there any error? | |
move ( $dest ) : self | Move uploaded file to new location. | |
toImage ( ) : Nette\Utils\Image | Returns the image. |
public __toString ( ) : string | ||
Résultat | string |
public getContentType ( ) : string | null | ||
Résultat | string | null |
public getContents ( ) : string | null | ||
Résultat | string | null |
public getImageSize ( ) : array | null | ||
Résultat | array | null |
public getSanitizedName ( ) : string | ||
Résultat | string |
public getTemporaryFile ( ) : string | ||
Résultat | string |
public move ( $dest ) : self | ||
Résultat | self |
public toImage ( ) : Nette\Utils\Image | ||
Résultat | Nette\Utils\Image |