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