Свойство | Тип | Описание | |
---|---|---|---|
$currentLevel | integer | Internal cache for the currentLevel tsValue. | |
$currentNode | Neos\ContentRepository\Domain\Model\NodeInterface | ||
$currentNodeRootline | array |
Rootline of all nodes from the current node to the site root node, keys are depth of nodes. | |
$items | array | An internal cache for the built menu items array. | |
$renderHiddenInIndex | boolean | Internal cache for the renderHiddenInIndex property. |
Метод | Описание | |
---|---|---|
getItems ( ) : array | Main API method which sends the to-be-rendered data to Fluid | |
getRenderHiddenInIndex ( ) : boolean | Should nodes that have "hiddenInIndex" set still be visible in this menu. |
Метод | Описание | |
---|---|---|
buildItems ( ) : array | Builds the array of menu items containing those items which match the configuration set for this Menu object. | |
calculateItemState ( Neos\ContentRepository\Domain\Model\NodeInterface $node = null ) : string | Helper Method: Calculates the state of the given menu item (node) depending on the currentNode. | |
getCurrentNodeRootline ( ) : array | Get the rootline from the current node up to the site node. | |
getNodeLevelInSite ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : integer | Node Level relative to site root node. | |
isNodeHidden ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : boolean | Return TRUE/FALSE if the node is currently hidden or not in the menu; taking the "renderHiddenInIndex" configuration of the Menu TypoScript object into account. |
abstract protected buildItems ( ) : array | ||
Результат | array | An array of menu items and further information |
protected calculateItemState ( Neos\ContentRepository\Domain\Model\NodeInterface $node = null ) : string | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
Результат | string |
protected getCurrentNodeRootline ( ) : array | ||
Результат | array |
protected getNodeLevelInSite ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : integer | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
Результат | integer |
public getRenderHiddenInIndex ( ) : boolean | ||
Результат | boolean |
protected isNodeHidden ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : boolean | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
Результат | boolean |
protected int $currentLevel | ||
Результат | integer |
protected NodeInterface,Neos\ContentRepository\Domain\Model $currentNode | ||
Результат | Neos\ContentRepository\Domain\Model\NodeInterface |
protected array |
||
Результат | array |
protected array $items | ||
Результат | array |
protected bool $renderHiddenInIndex | ||
Результат | boolean |