class Tag extends AbstractDateTimedPositioned implements LeafInterface (View source)

Tags are hierarchical entities used to qualify Nodes.

Traits

LeafTrait

Properties

protected $color
protected Tag $parent
protected ArrayCollection $children

Methods

string
getTagName()

No description

$this
setTagName(string $tagName)

No description

string
getDirtyTagName()

Gets the value of dirtyTagName.

boolean
isVisible()

No description

$this
setVisible(boolean $visible)

No description

boolean
isLocked()

No description

$this
setLocked(boolean $locked)

No description

ArrayCollection
getNodes()

No description

string
getFullPath()

Get tag full path using tag names.

ArrayCollection
getTranslatedTags()

No description

Collection
getTranslatedTagsByTranslation(Translation $translation)

No description

__construct()

Create a new Tag.

string
getOneLineSummary()

No description

string
getColor()

Gets the value of color.

Tag
setColor(string $color)

Sets the value of color.

mixed
getChildrenOrder()

Gets the value of childrenOrder.

Tag
setChildrenOrder(mixed $childrenOrder)

Sets the value of childrenOrder.

mixed
getChildrenOrderDirection()

Gets the value of childrenOrderDirection.

Tag
setChildrenOrderDirection(mixed $childrenOrderDirection)

Sets the value of childrenOrderDirection.

Details

string getTagName()

Return Value

string

$this setTagName(string $tagName)

Parameters

string $tagName

Return Value

$this

string getDirtyTagName()

Gets the value of dirtyTagName.

Return Value

string

boolean isVisible()

Return Value

boolean

$this setVisible(boolean $visible)

Parameters

boolean $visible

Return Value

$this

boolean isLocked()

Return Value

boolean

$this setLocked(boolean $locked)

Parameters

boolean $locked

Return Value

$this

ArrayCollection getNodes()

Return Value

ArrayCollection

string getFullPath()

Get tag full path using tag names.

Return Value

string

ArrayCollection getTranslatedTags()

Return Value

ArrayCollection

Collection getTranslatedTagsByTranslation(Translation $translation)

Parameters

Translation $translation

Return Value

Collection

__construct()

Create a new Tag.

string getOneLineSummary()

Return Value

string

string getColor()

Gets the value of color.

Return Value

string

Tag setColor(string $color)

Sets the value of color.

Parameters

string $color the color

Return Value

Tag

mixed getChildrenOrder()

Gets the value of childrenOrder.

Return Value

mixed

Tag setChildrenOrder(mixed $childrenOrder)

Sets the value of childrenOrder.

Parameters

mixed $childrenOrder the children order

Return Value

Tag

mixed getChildrenOrderDirection()

Gets the value of childrenOrderDirection.

Return Value

mixed

Tag setChildrenOrderDirection(mixed $childrenOrderDirection)

Sets the value of childrenOrderDirection.

Parameters

mixed $childrenOrderDirection the children order direction

Return Value

Tag