Beta version

class TagTranslation extends AbstractEntity

Translated representation of Tags.

It stores their name and description.

Methods

int
getId()

Get entity unique identifier.

setId(int $id)

No description

string
getName()

No description

$this
setName(string $name)

No description

string
getDescription()

No description

$this
setDescription(string $description)

No description

__construct(Tag $original, Translation $translation)

Create a new TagTranslation with its origin Tag and Translation.

Tag
getTag()

Gets the value of tag.

setTag(Tag $tag)

Sets the value of tag.

getTranslation()

Gets the value of translation.

setTranslation(Translation $translation)

Sets the value of translation.

Details

in AbstractEntity at line 51
int getId()

Get entity unique identifier.

Return Value

int

in AbstractEntity at line 60
AbstractEntity setId(int $id)

Parameters

int $id

Return Value

AbstractEntity

at line 55
string getName()

Return Value

string

at line 64
$this setName(string $name)

Parameters

string $name

Return Value

$this

at line 79
string getDescription()

Return Value

string

at line 89
$this setDescription(string $description)

Parameters

string $description

Return Value

$this

at line 116
__construct(Tag $original, Translation $translation)

Create a new TagTranslation with its origin Tag and Translation.

Parameters

Tag $original
Translation $translation

at line 129
Tag getTag()

Gets the value of tag.

Return Value

Tag

at line 141
TagTranslation setTag(Tag $tag)

Sets the value of tag.

Parameters

Tag $tag the tag

Return Value

TagTranslation

at line 153
Translation getTranslation()

Gets the value of translation.

Return Value

Translation

at line 165
TagTranslation setTranslation(Translation $translation)

Sets the value of translation.

Parameters

Translation $translation the translation

Return Value

TagTranslation