Phraseanet PHP SDK API
Class

PhraseanetSDK\Entity\Story

class Story extends AbstractEntity

Methods

__construct(EntityManager $em)

from AbstractEntity
integer getStoryId()

Get the record id

setStoryId($storyId)

integer getDataboxId()

Get the databox id

setDataboxId($databoxId)

getThumbnail()

setThumbnail(Subdef $thumbnail)

DateTime getUpdatedOn()

Last updated date

setUpdatedOn(DateTime $updatedOn)

DateTime getCreatedOn()

Creation date

setCreatedOn(DateTime $createdOn)

integer getCollectionId()

Get the record collection id

setCollectionId($collectionId)

string getUuid()

Get the record UUID

setUuid($uuid)

getRecords()

setRecords(ArrayCollection $records)

getMetadatas()

setMetadatas(ArrayCollection $metadatas)

getSubdefs($name = null)

Details

in AbstractEntity at line 21
final public __construct(EntityManager $em)

Parameters

EntityManager $em

at line 33
public integer getStoryId()

Get the record id

Return Value

integer

at line 38
public setStoryId($storyId)

Parameters

$storyId

at line 48
public integer getDataboxId()

Get the databox id

Return Value

integer

at line 53
public setDataboxId($databoxId)

Parameters

$databoxId

at line 58
public getThumbnail()

at line 63
public setThumbnail(Subdef $thumbnail)

Parameters

Subdef $thumbnail

at line 73
public DateTime getUpdatedOn()

Last updated date

Return Value

DateTime

at line 78
public setUpdatedOn(DateTime $updatedOn)

Parameters

DateTime $updatedOn

at line 88
public DateTime getCreatedOn()

Creation date

Return Value

DateTime

at line 93
public setCreatedOn(DateTime $createdOn)

Parameters

DateTime $createdOn

at line 103
public integer getCollectionId()

Get the record collection id

Return Value

integer

at line 108
public setCollectionId($collectionId)

Parameters

$collectionId

at line 118
public string getUuid()

Get the record UUID

Return Value

string

at line 123
public setUuid($uuid)

Parameters

$uuid

at line 128
public getRecords()

at line 133
public setRecords(ArrayCollection $records)

Parameters

ArrayCollection $records

at line 138
public getMetadatas()

at line 143
public setMetadatas(ArrayCollection $metadatas)

Parameters

ArrayCollection $metadatas

at line 148
public getSubdefs($name = null)

Parameters

$name