class Menu (View source)

Properties

protected ItemInterface[] $pageHeaderMenuItems

Methods

addPageHeaderMenuItem(string $menuItemControllerHandle, bool $pkgHandle = false, array $options = array())

No description

addMenuItem(ItemInterface $item)

No description

getPageHeaderMenuItems(bool $position = false)

Returns current menu items.

Details

Item addPageHeaderMenuItem(string $menuItemControllerHandle, bool $pkgHandle = false, array $options = array())

Parameters

string $menuItemControllerHandle
bool $pkgHandle
array $options

Return Value

Item

addMenuItem(ItemInterface $item)

Parameters

ItemInterface $item

ItemInterface[] getPageHeaderMenuItems(bool $position = false)

Returns current menu items.

Parameters

bool $position

Return Value

ItemInterface[]