PHP Class Pimcore\View\Helper\PimcoreNavigationController

Show file Open project: pimcore/pimcore

Protected Properties

Property Type Description
$_htmlMenuIdPrefix string
$_pageClass string

Public Methods

Method Description
getNavigation ( $activeDocument, null $navigationRootDocument = null, null $htmlMenuIdPrefix = null, null $pageCallback = null, boolean | string $cache = true ) : mixed | Zend_Navigation
getPageClass ( ) : String Returns the name of the pageclass
setPageClass ( $pageClass )

Protected Methods

Method Description
addActiveCssClasses ( Uri $page, $isActive = false )
buildNextLevel ( $parentDocument, boolean $isRoot = false, callable $pageCallback = null ) : array
getChilds ( Document $parentDocument ) : Document[]

Method Details

addActiveCssClasses() protected method

protected addActiveCssClasses ( Uri $page, $isActive = false )
$page Pimcore\Navigation\Page\Uri

buildNextLevel() protected method

protected buildNextLevel ( $parentDocument, boolean $isRoot = false, callable $pageCallback = null ) : array
$parentDocument
$isRoot boolean
$pageCallback callable
return array

getChilds() protected method

protected getChilds ( Document $parentDocument ) : Document[]
$parentDocument Pimcore\Model\Document
return Pimcore\Model\Document[]

getNavigation() public method

public getNavigation ( $activeDocument, null $navigationRootDocument = null, null $htmlMenuIdPrefix = null, null $pageCallback = null, boolean | string $cache = true ) : mixed | Zend_Navigation
$activeDocument
$navigationRootDocument null
$htmlMenuIdPrefix null
$pageCallback null
$cache boolean | string
return mixed | Zend_Navigation

getPageClass() public method

Returns the name of the pageclass
public getPageClass ( ) : String
return String

setPageClass() public method

public setPageClass ( $pageClass )
$pageClass

Property Details

$_htmlMenuIdPrefix protected property

protected string $_htmlMenuIdPrefix
return string

$_pageClass protected property

protected string $_pageClass
return string