PHP 클래스 Sulu\Component\Content\SmartContent\ContentDataItem

상속: extends Sulu\Component\SmartContent\ArrayAccessItem, implements Sulu\Component\SmartContent\ItemInterface
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $data, object $resource )
getImage ( )
getPublished ( ) : DateTime Returns the date at which the content was published.
getPublishedState ( ) : boolean Returns true iff the latest version of the content is published.
getTitle ( )
getUrl ( ) : string Returns the url of the content item.

메소드 상세

__construct() 공개 메소드

public __construct ( array $data, object $resource )
$data array
$resource object

getImage() 공개 메소드

public getImage ( )

getPublished() 공개 메소드

Returns the date at which the content was published.
public getPublished ( ) : DateTime
리턴 DateTime

getPublishedState() 공개 메소드

Returns true iff the latest version of the content is published.
public getPublishedState ( ) : boolean
리턴 boolean

getTitle() 공개 메소드

public getTitle ( )

getUrl() 공개 메소드

Returns the url of the content item.
public getUrl ( ) : string
리턴 string