PHP Интерфейс 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.
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
setChildNodes ( array $childNodes ) : void |
Sets the direct child nodes of the current syntax tree node. |
|
Описание методов
setChildNodes()
публичный Метод
Sets the direct child nodes of the current syntax tree node.