Prepares this view to render a list or tree of child nodes of the given node.
public assignChildNodes ( Neos\ContentRepository\Domain\Model\NodeInterface $node, string $nodeTypeFilter, integer $outputStyle = self::STYLE_LIST, integer $depth, Neos\ContentRepository\Domain\Model\NodeInterface $untilNode = null ) : void | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | The node to fetch child nodes of |
$nodeTypeFilter | string | Criteria for filtering the child nodes |
$outputStyle | integer | Either STYLE_TREE or STYLE_list |
$depth | integer | How many levels of childNodes (0 = unlimited) |
$untilNode | Neos\ContentRepository\Domain\Model\NodeInterface | if given, expand all nodes on the rootline towards $untilNode, no matter what is defined with $depth. |
return | void |