PHP Interface Neos\FluidAdaptor\Core\ViewHelper\Facets\ChildNodeAccessInterface

This might happen if you only want to selectively render a part of the syntax tree depending on some conditions. To render sub nodes, you can fetch the RenderingContext via $this->renderingContext. In most cases, you will not need this facet, and it is NO PUBLIC API! Right now it is only used internally for conditions, so by subclassing Neos\FluidAdaptor\Core\ViewHelpers\AbstractConditionViewHelper, this should be all you need. See \Neos\FluidAdaptor\ViewHelpers\IfViewHelper for an example how it is used.
Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode Description
setChildNodes ( array $childNodes ) : void Sets the direct child nodes of the current syntax tree node.

Method Details

setChildNodes() public méthode

Sets the direct child nodes of the current syntax tree node.
public setChildNodes ( array $childNodes ) : void
$childNodes array
Résultat void