class NavigationFactory (View source)

Properties

protected Page $home

Methods

__construct(Page $home)

No description

createItemFromPage(Page $page)

No description

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

No description

createNavigation()

No description

Details

__construct(Page $home)

No description

Parameters

Page $home

ItemInterface createItemFromPage(Page $page)

No description

Parameters

Page $page

Return Value

ItemInterface

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

No description

Parameters

Page $currentPage
Navigation $navigation
PageItem $currentItem

Return Value

Navigation

Navigation createNavigation()

No description

Return Value

Navigation