메소드 |
설명 |
|
__construct ( Package $package, mixed $item ) |
|
|
getCaption ( ) : string |
Get caption. |
|
getId ( ) : integer |
Get id. |
|
getImage ( ) : LocalImage |
Get image. |
|
getImageSpecs ( ) : string |
Get image specs. |
|
getItem ( ) : self |
Get clone of itself - for serializer. |
|
getLink ( ) : string |
Get link for Item resource. |
|
getOffset ( ) |
Get offset. |
|
getPackage ( ) : integer |
Get package. |
|
getPackageId ( ) : integer |
Get package id. |
|
getPackageItems ( ) : array |
Get package items. |
|
getRendition ( ) : Newscoop\Image\Rendition |
Get rendition. |
|
getType ( ) : string |
Get Item type. |
|
getVideoUrl ( ) : string |
Get video url. |
|
isImage ( ) : boolean |
Test if item is image. |
|
isVideo ( ) : boolean |
Test if item is video. |
|
setCaption ( string $caption ) |
Set caption. |
|
setCoords ( string $coords ) |
Set crop coordinates. |
|
setLink ( string $link ) |
Set link for Item resource. |
|
setOffset ( integer $offset ) |
Set offset. |
|
setType ( string $type ) |
Set Item type. |
|
setVideoUrl ( string $url ) |
Set video url. |
|