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

Methods

__construct(Page $page = null, 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

__clone()

No description

from  Item
int
getPageID()

No description

void
setPageID(int $pageID)

No description

string
getKeywords()

No description

setKeywords(string $keywords)

No description

Details

__construct(Page $page = null, bool $isActive = false)

Item constructor.

Parameters

Page $page
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 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