메소드 |
설명 |
|
__construct ( string $image = '' ) |
|
|
getArticleImageId ( ) : mixed |
Gets articleImage. |
|
getBasename ( ) : string |
Gets the value of basename. |
|
getCaption ( ) : string |
Get caption |
|
getCaptions ( ) : array |
Get captions |
|
getContentType ( ) : string |
Gets the value of contentType. |
|
getCreated ( ) : DateTime |
Gets the value of created. |
|
getDate ( ) : string |
Get date |
|
getDescription ( ) : string |
Get description |
|
getHeight ( ) : integer |
Get height |
|
getId ( ) : integer |
Get id |
|
getPath ( ) : string |
Get path |
|
getPhotographer ( ) : string |
Get photographer |
|
getPhotographerUrl ( ) : string |
Get photographer url |
|
getPlace ( ) : string |
Get place |
|
getSource ( ) : string |
Get source |
|
getStatus ( ) : string |
Gets the value of status. |
|
getThumbnailPath ( $clear = false ) : string |
Get thumbnail path |
|
getUpdated ( ) : DateTime |
Gets the value of updated. |
|
getUser ( ) : User |
Gets the value of user. |
|
getWidth ( ) : integer |
Get width |
|
hasUpdatedStorage ( ) : boolean |
Test is storage was updated |
|
hasWidth ( ) : boolean |
Test if image has defined width |
|
isLocal ( ) : boolean |
Test if is local image |
|
setArticleImageId ( mixed $articleImageId ) : self |
Sets articleImage. |
|
setBasename ( string $basename ) : self |
Sets the value of basename. |
|
setContentType ( string $contentType ) : self |
Sets the value of contentType. |
|
setCreated ( DateTime $created ) : self |
Sets the value of created. |
|
setDate ( string $date ) : void |
Set date |
|
setDescription ( string $description ) : void |
Set description |
|
setHeight ( integer $height ) : self |
Sets the value of height. |
|
setPhotographer ( string $photographer ) : void |
Set photographer |
|
setPhotographerUrl ( string $url ) : void |
Set photographer url |
|
setPlace ( string $place ) : void |
Set place |
|
setSource ( string $source ) : self |
Sets the value of source. |
|
setStatus ( string $status = null ) : self |
Sets the value of status. |
|
setThumbnailPath ( string $thumbnailPath ) : self |
Sets the value of thumbnailPath. |
|
setUpdated ( DateTime $updated ) : self |
Sets the value of updated. |
|
setUrl ( string $url ) : self |
Sets the value of url. |
|
setUser ( User $user = null ) : self |
Sets the value of user. |
|
setWidth ( integer $width ) : self |
Sets the value of width. |
|
updateStorage ( string $path, string $thumbnailPath ) : void |
Update storage |
|
upload ( string $path, string $thumbnailPath ) : void |
Upload image |
|