class FullNavigationFactory (View source)

Properties

protected NavigationCache $cache

Methods

__construct(NavigationCache $cache)

No description

getPageChildren(Page $page)

No description

populateNavigation(Page $currentPage, Navigation $navigation, PageItem $currentItem = null)

No description

createNavigation()

Returns an entire dashboard navigation tree. Optionally starts at a particular section in the tree.

Details

__construct(NavigationCache $cache)

No description

Parameters

NavigationCache $cache

protected getPageChildren(Page $page)

No description

Parameters

Page $page

protected Navigation populateNavigation(Page $currentPage, Navigation $navigation, PageItem $currentItem = null)

No description

Parameters

Page $currentPage
Navigation $navigation
PageItem $currentItem

Return Value

Navigation

Navigation createNavigation()

Returns an entire dashboard navigation tree. Optionally starts at a particular section in the tree.

Used on the Dashboard home, intelligent search, mobile menu and more.

Return Value

Navigation