class DocumentationNavigationPageItem extends PageItem (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 int $pageID from  PageItem
protected string $keywords from  PageItem

Methods

__construct(Theme $theme, Page $page, bool $isActive = false)

Item constructor.

string
getUrl()

No description

from  Item
string
getName()

No description

from  PageItem
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  PageItem
__clone()

No description

from  Item
int
getPageID()

No description

from  PageItem
void
setPageID(int $pageID)

No description

from  PageItem
string
getKeywords()

No description

from  PageItem
setKeywords(string $keywords)

No description

from  PageItem

Details

__construct(Theme $theme, Page $page, bool $isActive = false)

Item constructor.

Parameters

Theme $theme
Page $page
bool $isActive

string getUrl()

No description

Return Value

string

string getName()

No description

Return Value

string

See also

Item::getName

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 getPageID()

No description

Return Value

int

void setPageID(int $pageID)

No description

Parameters

int $pageID

Return Value

void

string getKeywords()

No description

Return Value

string

PageItem setKeywords(string $keywords)

No description

Parameters

string $keywords

Return Value

PageItem