Neos.Neos/Classes/Fusion/AbstractMenuItemsImplementation.php
public function getItems()
    {
        if ($this->items === null) {
            $fusionContext = $this->runtime->getCurrentContext();
            $this->currentNode = isset($fusionContext['activeNode']) ? $fusionContext['activeNode'] : $fusionContext['documentNode'];
            $this->currentLevel = 1;
            $this->items = $this->buildItems();
        }

        return $this->items;
    }
public function getItems()
    {
        if ($this->items === null) {
            $fusionContext = $this->runtime->getCurrentContext();
            $this->currentNode = isset($fusionContext['activeNode']) ? $fusionContext['activeNode'] : $fusionContext['documentNode'];
            $this->currentLevel = 1;
            $this->items = $this->buildItems();
        }

        return $this->items;
    }
public function getItems ( ) { if ( $ this -> items === null ) { $ fusionContext = $ this -> runtime -> getCurrentContext ( ) ; $ this -> currentNode = isset ( $ fusionContext [ 'activeNode' ] ) ? $ fusionContext [ 'activeNode' ] : $ fusionContext [ 'documentNode' ] ; $ this -> currentLevel = 1 ; $ this -> items = $ this -> buildItems ( ) ; } return $ this -> items ; }
Main API method which sends the to-be-rendered data to Fluid

@return array
Main API method which sends the to - be - rendered data to Fluid