메소드 |
설명 |
|
__construct ( ) |
|
|
getCreated ( ) : mixed |
Returns the created date. |
|
getDescription ( ) : string |
Returns the description for this attachment. |
|
getExtension ( ) : string |
Returns the extension for the file. |
|
getFilename ( ) : string |
Returns the plain filename without path and suffix. |
|
getFullFilename ( ) |
|
|
getLegacyExtension ( ) : string |
Returns the extension for the given mime type. |
|
getMimeType ( ) : string |
Returns the mime type for this file. |
|
getOriginalFilename ( ) : string |
Returns the original filename. |
|
getReplacement ( ) : mixed |
Returns the replacement image, if set. |
|
getSize ( ) : integer |
Returns the size of this file. |
|
getType ( ) : string |
Returns the type of the file. |
|
setCreated ( mixed $created ) |
Sets the created date. |
|
setDescription ( string $description ) |
Sets the description for this attachment. |
|
setExtension ( string $extension ) |
Sets the extension for this file. |
|
setFilename ( $filename ) |
Sets the plain filename without path and suffix. |
|
setMimeType ( string $mimeType ) |
Sets the mimetype for this file. |
|
setOriginalFilename ( string $filename ) |
Sets the original filename. |
|
setReplacement ( $replacement ) |
Sets a replacement image. |
|
setSize ( integer $size ) |
Sets the size of the file. |
|