PHP Класс Sulu\Component\Content\SmartContent\ContentDataItem

Наследование: extends Sulu\Component\SmartContent\ArrayAccessItem, implements Sulu\Component\SmartContent\ItemInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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