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.
파일 보기 프로젝트 열기: neos/flow-development-collection

공개 메소드들

메소드 설명
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.
public setChildNodes ( array $childNodes ) : void
$childNodes array
리턴 void