Phraseanet PHP SDK API
Class

PhraseanetSDK\Entity\Subdef

class Subdef extends AbstractEntity

Methods

__construct(EntityManager $em)

from AbstractEntity
string getName()

Get subdef name

setName($name)

integer getHeight()

Get subdef height

setHeight($height)

integer getWidth()

Get subdef width

setWidth($width)

integer getFileSize()

Get subdef file size

setFileSize($fileSize)

string getPlayerType()

Get the player type

setPlayerType($playerType)

string getMimeType()

Get subdef mime type

setMimeType($mimetype)

Permalink getPermalink()

Get the permalink related to the subdef

setPermalink(Permalink $permalink)

Details

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

Parameters

EntityManager $em

at line 29
public string getName()

Get subdef name

Return Value

string

at line 34
public setName($name)

Parameters

$name

at line 44
public integer getHeight()

Get subdef height

Return Value

integer

at line 49
public setHeight($height)

Parameters

$height

at line 59
public integer getWidth()

Get subdef width

Return Value

integer

at line 64
public setWidth($width)

Parameters

$width

at line 74
public integer getFileSize()

Get subdef file size

Return Value

integer

at line 79
public setFileSize($fileSize)

Parameters

$fileSize

at line 89
public string getPlayerType()

Get the player type

Return Value

string

at line 94
public setPlayerType($playerType)

Parameters

$playerType

at line 104
public string getMimeType()

Get subdef mime type

Return Value

string

at line 109
public setMimeType($mimetype)

Parameters

$mimetype

Get the permalink related to the subdef

Return Value

Permalink

Parameters

Permalink $permalink