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

__construct(Section $section = null, string $url, bool $isActive = false)

Item constructor.

string
getUrl()

No description

from  Item
string
getName()

No description

from  Item
bool
isActive()

No description

from  Item
array
getChildren()

No description

from  Item
void
setChildren(array $children)

No description

from  Item
addChild(Item $item)

No description

from  Item
void
setUrl(string $url)

No description

from  Item
void
setName(string $name)

No description

from  Item
void
setIsActive(bool $isActive)

No description

from  Item
bool
isActiveParent()

No description

from  Item
void
setIsActiveParent(bool $isActiveParent)

No description

from  Item
jsonSerialize()

No description

from  Item
__clone()

No description

from  Item
int|null
getSectionID()

No description

void
setSectionID(int $sectionID)

No description

Details

__construct(Section $section = null, string $url, bool $isActive = false)

Item constructor.

Parameters

Section $section
string $url
bool $isActive

string getUrl()

No description

Return Value

string

string getName()

No description

Return Value

string

bool isActive()

No description

Return Value

bool

array getChildren()

No description

Return Value

array

void setChildren(array $children)

No description

Parameters

array $children

Return Value

void

addChild(Item $item)

No description

Parameters

Item $item

void setUrl(string $url)

No description

Parameters

string $url

Return Value

void

void setName(string $name)

No description

Parameters

string $name

Return Value

void

void setIsActive(bool $isActive)

No description

Parameters

bool $isActive

Return Value

void

bool isActiveParent()

No description

Return Value

bool

void setIsActiveParent(bool $isActiveParent)

No description

Parameters

bool $isActiveParent

Return Value

void

jsonSerialize()

No description

__clone()

No description

int|null getSectionID()

No description

Return Value

int|null

void setSectionID(int $sectionID)

No description

Parameters

int $sectionID

Return Value

void