PHP Class Sulu\Component\Content\SmartContent\ContentDataItem

Inheritance: extends Sulu\Component\SmartContent\ArrayAccessItem, implements Sulu\Component\SmartContent\ItemInterface
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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

getImage() public méthode

public getImage ( )

getPublished() public méthode

Returns the date at which the content was published.
public getPublished ( ) : DateTime
Résultat DateTime

getPublishedState() public méthode

Returns true iff the latest version of the content is published.
public getPublishedState ( ) : boolean
Résultat boolean

getTitle() public méthode

public getTitle ( )

getUrl() public méthode

Returns the url of the content item.
public getUrl ( ) : string
Résultat string