SwitchLanguageItem
class SwitchLanguageItem extends Item (View source)
Properties
protected string | $url | from Item | |
protected string | $name | from Item | |
protected bool | $isActive | from Item | |
protected bool | $isActiveParent | from Item | |
protected Item[] | $children | from Item | |
protected | $sectionID |
Methods
Details
__construct(Section $section = null, string $url, bool $isActive = false)
Item constructor.
in
Item at line 50
string
getUrl()
No description
in
Item at line 58
string
getName()
No description
in
Item at line 66
bool
isActive()
No description
in
Item at line 74
array
getChildren()
No description
in
Item at line 82
void
setChildren(array $children)
No description
in
Item at line 87
addChild(Item $item)
No description
in
Item at line 95
void
setUrl(string $url)
No description
in
Item at line 103
void
setName(string $name)
No description
in
Item at line 111
void
setIsActive(bool $isActive)
No description
in
Item at line 119
bool
isActiveParent()
No description
in
Item at line 127
void
setIsActiveParent(bool $isActiveParent)
No description
in
Item at line 132
jsonSerialize()
No description
in
Item at line 144
__clone()
No description
int|null
getSectionID()
No description
void
setSectionID(int $sectionID)
No description