class PageBreadcrumb implements BreadcrumbInterface, Iterator (View source)

Properties

protected ItemInterface[] $items

Methods

add(ItemInterface $item)

Adds an item to the navigation.

array
getItems()

Returns all the items in the navigation.

setItems(array $items)

Replace all the existing items with new ones.

void
rewind()

No description

current()

No description

int|string
key()

No description

void
next()

No description

bool
valid()

No description

Details

NavigationInterface add(ItemInterface $item)

Adds an item to the navigation.

Parameters

ItemInterface $item

Return Value

NavigationInterface

See also

NavigationInterface::add

array getItems()

Returns all the items in the navigation.

Return Value

array

See also

NavigationInterface::getItems

NavigationInterface setItems(array $items)

Replace all the existing items with new ones.

Parameters

array $items

Return Value

NavigationInterface

See also

NavigationInterface::setItems

void rewind()

No description

Return Value

void

ItemInterface|false current()

No description

Return Value

ItemInterface|false

int|string key()

No description

Return Value

int|string

void next()

No description

Return Value

void

bool valid()

No description

Return Value

bool