Property | Type | Description | |
---|---|---|---|
$active | TYPO3\TYPO3CR\Domain\Model\NodeInterface | The currently active node in the tree | |
$controllerContext | TYPO3\Flow\Mvc\Controller\ControllerContext | ||
$depth | integer | Determines how many levels of the tree should be loaded | |
$linkingService | TYPO3\Neos\Service\LinkingService | ||
$nodeService | |||
$nodeTypeFilter | string | null | An (optional) node type filter | |
$root | TYPO3\TYPO3CR\Domain\Model\NodeInterface | The site node | |
$searchTermFilter | string | An (optional) search term filter |
Method | Description | |
---|---|---|
build ( $includeRoot = false, $root = null, $depth = null ) : array | Build a json serializable tree structure containing node information | |
getRoot ( ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface | Get the root node | |
setActive ( string $activeContextPath ) : void | Set the active node | |
setControllerContext ( TYPO3\Flow\Mvc\Controller\ControllerContext $controllerContext ) : void | Set the controller context | |
setDepth ( integer $depth ) | Set the depth | |
setNodeTypeFilter ( string $nodeTypeFilter ) : void | Set the node type filter | |
setRoot ( string $rootContextPath ) : void | Set the root node | |
setSearchTermFilter ( string $searchTermFilter ) : void | Set the search term filter |
Method | Description | |
---|---|---|
isInRootLine ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $haystack = null, TYPO3\TYPO3CR\Domain\Model\NodeInterface $needle ) |
public getRoot ( ) : TYPO3\TYPO3CR\Domain\Model\NodeInterface | ||
return | TYPO3\TYPO3CR\Domain\Model\NodeInterface |
protected isInRootLine ( TYPO3\TYPO3CR\Domain\Model\NodeInterface $haystack = null, TYPO3\TYPO3CR\Domain\Model\NodeInterface $needle ) | ||
$haystack | TYPO3\TYPO3CR\Domain\Model\NodeInterface | |
$needle | TYPO3\TYPO3CR\Domain\Model\NodeInterface |
public setControllerContext ( TYPO3\Flow\Mvc\Controller\ControllerContext $controllerContext ) : void | ||
$controllerContext | TYPO3\Flow\Mvc\Controller\ControllerContext | |
return | void |
public setNodeTypeFilter ( string $nodeTypeFilter ) : void | ||
$nodeTypeFilter | string | |
return | void |
public setSearchTermFilter ( string $searchTermFilter ) : void | ||
$searchTermFilter | string | |
return | void |
protected NodeInterface,TYPO3\TYPO3CR\Domain\Model $active | ||
return | TYPO3\TYPO3CR\Domain\Model\NodeInterface |
protected ControllerContext,TYPO3\Flow\Mvc\Controller $controllerContext | ||
return | TYPO3\Flow\Mvc\Controller\ControllerContext |
protected int $depth | ||
return | integer |
protected LinkingService,TYPO3\Neos\Service $linkingService | ||
return | TYPO3\Neos\Service\LinkingService |
protected NodeService,Neos\Neos\Ui\TYPO3CR\Service $nodeService | ||
return |
protected NodeInterface,TYPO3\TYPO3CR\Domain\Model $root | ||
return | TYPO3\TYPO3CR\Domain\Model\NodeInterface |
protected string $searchTermFilter | ||
return | string |