class FolderTranslation extends AbstractEntity (View source)

Translated representation of Folders.

It stores their name.

Properties

protected $id from AbstractEntity
protected $name
protected Folder $folder
protected Translation $translation

Methods

int
getId()

No description

setId(int $id)

No description

string
getName()

No description

$this
setName(string $name)

No description

__construct(Folder $original, Translation $translation)

FolderTranslation constructor.

getFolder()

No description

setFolder(Folder $folder)

No description

getTranslation()

Gets the value of translation.

setTranslation(Translation $translation)

Sets the value of translation.

Details

int getId()

Return Value

int

AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

string getName()

Return Value

string

$this setName(string $name)

Parameters

string $name

Return Value

$this

__construct(Folder $original, Translation $translation)

FolderTranslation constructor.

Parameters

Folder $original
Translation $translation

Folder getFolder()

Return Value

Folder

FolderTranslation setFolder(Folder $folder)

Parameters

Folder $folder

Return Value

FolderTranslation

Translation getTranslation()

Gets the value of translation.

Return Value

Translation

FolderTranslation setTranslation(Translation $translation)

Sets the value of translation.

Parameters

Translation $translation the translation

Return Value

FolderTranslation