Phraseanet PHP SDK API
Class

PhraseanetSDK\Entity\Permalink

class Permalink extends AbstractEntity

Methods

__construct(EntityManager $em)

from AbstractEntity
integer getId()

Get the permalink id

setId($id)

Boolean isActivated()

Tell whether the permalink is activated

setIsActivated($isActivated)

string getLabel()

get the permalink label

setLabel($label)

DateTime getUpdatedOn()

Last updated date

setUpdatedOn(DateTime $updatedOn)

DateTime getCreatedOn()

Creation date

setCreatedOn(DateTime $createdOn)

string getPageUrl()

Get the page url

setPageUrl($pageUrl)

string getUrl()

Get Url

setUrl($url)

Details

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

Parameters

EntityManager $em

at line 29
public integer getId()

Get the permalink id

Return Value

integer

at line 34
public setId($id)

Parameters

$id

at line 44
public Boolean isActivated()

Tell whether the permalink is activated

Return Value

Boolean

at line 49
public setIsActivated($isActivated)

Parameters

$isActivated

at line 59
public string getLabel()

get the permalink label

Return Value

string

at line 64
public setLabel($label)

Parameters

$label

at line 74
public DateTime getUpdatedOn()

Last updated date

Return Value

DateTime

at line 79
public setUpdatedOn(DateTime $updatedOn)

Parameters

DateTime $updatedOn

at line 89
public DateTime getCreatedOn()

Creation date

Return Value

DateTime

at line 94
public setCreatedOn(DateTime $createdOn)

Parameters

DateTime $createdOn

at line 104
public string getPageUrl()

Get the page url

Return Value

string

at line 109
public setPageUrl($pageUrl)

Parameters

$pageUrl

at line 119
public string getUrl()

Get Url

Return Value

string

at line 124
public setUrl($url)

Parameters

$url