Свойство | Type | Description | |
---|---|---|---|
$lastLevel | integer | Internal cache for the lastLevel value. | |
$maximumLevels | integer | Internal cache for the maximumLevels tsValue. | |
$startingPoint | Neos\ContentRepository\Domain\Model\NodeInterface | Internal cache for the startingPoint tsValue. |
Méthode | Description | |
---|---|---|
getEntryLevel ( ) : integer | The last navigation level which should be rendered. | |
getFilter ( ) : string | NodeType filter for nodes displayed in menu | |
getItemCollection ( ) : array | ||
getLastLevel ( ) : integer | Return evaluated lastLevel value. | |
getMaximumLevels ( ) : integer | Maximum number of levels which should be rendered in this menu. | |
getStartingPoint ( ) : Neos\ContentRepository\Domain\Model\NodeInterface |
Méthode | Description | |
---|---|---|
buildItems ( ) : array | Builds the array of menu items containing those items which match the configuration set for this Menu object. | |
buildMenuItemRecursive ( Neos\ContentRepository\Domain\Model\NodeInterface $currentNode ) : array | Prepare the menu item with state and sub items if this isn't the last menu level. | |
buildMenuLevelRecursive ( array $menuLevelCollection ) : array | ||
calculateNodeDepthFromRelativeLevel ( integer $relativeLevel, Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode ) : integer | Calculates an absolute depth value for a relative level given. | |
findMenuStartingPoint ( ) : Neos\ContentRepository\Domain\Model\NodeInterface | Find the starting point for this menu. depending on given startingPoint If startingPoint is given, this is taken as starting point for this menu level, as a fallback the TypoScript context variable node is used. | |
findParentNodeInBreadcrumbPathByLevel ( integer $givenSiteLevel, Neos\ContentRepository\Domain\Model\NodeInterface $startingPoint ) : Neos\ContentRepository\Domain\Model\NodeInterface | Finds the node in the current breadcrumb path between current site node and current node whose level matches the specified entry level. | |
isOnLastLevelOfMenu ( Neos\ContentRepository\Domain\Model\NodeInterface $menuItemNode ) : boolean | Checks if the given menuItem is on the last level for this menu, either defined by maximumLevels or lastLevels. |
protected buildItems ( ) : array | ||
Résultat | array | An array of menu items and further information |
protected buildMenuItemRecursive ( Neos\ContentRepository\Domain\Model\NodeInterface $currentNode ) : array | ||
$currentNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
Résultat | array |
protected buildMenuLevelRecursive ( array $menuLevelCollection ) : array | ||
$menuLevelCollection | array | |
Résultat | array |
protected calculateNodeDepthFromRelativeLevel ( integer $relativeLevel, Neos\ContentRepository\Domain\Model\NodeInterface $referenceNode ) : integer | ||
$relativeLevel | integer | |
$referenceNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
Résultat | integer |
protected findMenuStartingPoint ( ) : Neos\ContentRepository\Domain\Model\NodeInterface | ||
Résultat | Neos\ContentRepository\Domain\Model\NodeInterface |
protected findParentNodeInBreadcrumbPathByLevel ( integer $givenSiteLevel, Neos\ContentRepository\Domain\Model\NodeInterface $startingPoint ) : Neos\ContentRepository\Domain\Model\NodeInterface | ||
$givenSiteLevel | integer | The site level child nodes of the to be found parent node should have. See $this->entryLevel for possible values. |
$startingPoint | Neos\ContentRepository\Domain\Model\NodeInterface | |
Résultat | Neos\ContentRepository\Domain\Model\NodeInterface | The parent node of the node at the specified level or NULL if none was found |
public getEntryLevel ( ) : integer | ||
Résultat | integer |
public getLastLevel ( ) : integer | ||
Résultat | integer |
public getMaximumLevels ( ) : integer | ||
Résultat | integer |
public getStartingPoint ( ) : Neos\ContentRepository\Domain\Model\NodeInterface | ||
Résultat | Neos\ContentRepository\Domain\Model\NodeInterface |
protected isOnLastLevelOfMenu ( Neos\ContentRepository\Domain\Model\NodeInterface $menuItemNode ) : boolean | ||
$menuItemNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
Résultat | boolean |
protected int $lastLevel | ||
Résultat | integer |
protected int $maximumLevels | ||
Résultat | integer |