Свойство | Type | Description | |
---|---|---|---|
$mimeTypeMapping | array | Mapping for some mime types | |
$mimeTypes | array | Supported mime types and the correct file extensions |
Méthode | Description | |
---|---|---|
getAddedDate ( ) : DateTime | Get the added date | |
getBlob ( ) : string | Get the blob | |
getChecksum ( ) : string | Get the checksum of the current image data | |
getData ( ) | ||
getExtension ( ) : string | Get the extension | |
getFileExtension ( string $mime ) : boolean | string | Get the file extension mapped to a mime type | |
getFilesize ( ) : integer | Get the size of the image data in bytes | |
getHeight ( ) : integer | Get the height | |
getImageIdentifier ( ) : string | Get the image identifier | |
getMetadata ( ) : array | Get the metadata | |
getMimeType ( ) : string | Get the mime type | |
getOriginalChecksum ( ) : string | Get the original checksum of the current image data | |
getUpdatedDate ( ) : DateTime | Get the updated date | |
getUser ( ) : string | Get the user | |
getWidth ( ) : integer | Get the width | |
hasBeenTransformed ( boolean | null $flag = null ) : boolean | self | Set or get the hasBeenTransformed flag | |
setAddedDate ( DateTime $added ) : |
Set the added date | |
setBlob ( string $blob ) : |
Set the blob and update filesize and checksum properties | |
setChecksum ( string $checksum ) : |
Set the checksum | |
setExtension ( string $extension ) : |
Set the extension | |
setFilesize ( integer $size ) : |
Set the size of the image in bytes | |
setHeight ( integer $height ) : |
Set the height | |
setImageIdentifier ( string $imageIdentifier ) : |
Set the image identifier | |
setMetadata ( array $metadata ) : |
Set the metadata | |
setMimeType ( string $mimeType ) : |
Set the mime type | |
setOriginalChecksum ( $checksum ) : |
Set the original checksum | |
setUpdatedDate ( DateTime $updated ) : |
Set the updated date | |
setUser ( string $user ) : |
Set the user | |
setWidth ( integer $width ) : |
Set the width | |
supportedMimeType ( string $mime ) : boolean | Check if a mime type is supported by Imbo |
public getAddedDate ( ) : DateTime | ||
Résultat | DateTime |
public getChecksum ( ) : string | ||
Résultat | string |
public getFilesize ( ) : integer | ||
Résultat | integer |
public getImageIdentifier ( ) : string | ||
Résultat | string |
public getOriginalChecksum ( ) : string | ||
Résultat | string |
public getUpdatedDate ( ) : DateTime | ||
Résultat | DateTime |
public setAddedDate ( DateTime $added ) : |
||
$added | DateTime | When the image was added |
Résultat |
public setChecksum ( string $checksum ) : |
||
$checksum | string | The checksum to set |
Résultat |
public setExtension ( string $extension ) : |
||
$extension | string | The file extension |
Résultat |
public setFilesize ( integer $size ) : |
||
$size | integer | The size of the image |
Résultat |
public setImageIdentifier ( string $imageIdentifier ) : |
||
$imageIdentifier | string | The image identifier |
Résultat |
public setMetadata ( array $metadata ) : |
||
$metadata | array | An array with metadata |
Résultat |
public setMimeType ( string $mimeType ) : |
||
$mimeType | string | The mime type, for instance "image/png" |
Résultat |
public setOriginalChecksum ( $checksum ) : |
||
Résultat |
public setUpdatedDate ( DateTime $updated ) : |
||
$updated | DateTime | When the image was updated |
Résultat |
public static supportedMimeType ( string $mime ) : boolean | ||
$mime | string | The mime type to check. For instance "image/png" |
Résultat | boolean |
public static array $mimeTypeMapping | ||
Résultat | array |
public static array $mimeTypes | ||
Résultat | array |