TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Fluid\Core\ViewHelper\Facets\ChildNodeAccessInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Fluid\Core\ViewHelper\Facets\ChildNodeAccessInterface:
TYPO3\CMS\Fluid\Core\ViewHelper\AbstractConditionViewHelper TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetViewHelper TYPO3\CMS\Fluid\Tests\Unit\Core\Parser\Fixtures\ChildNodeAccessFacetViewHelper TYPO3\CMS\Fluid\ViewHelpers\Be\Menus\ActionMenuViewHelper TYPO3\CMS\Fluid\ViewHelpers\SwitchViewHelper TYPO3\CMS\Fluid\ViewHelpers\Be\Security\IfAuthenticatedViewHelper TYPO3\CMS\Fluid\ViewHelpers\Be\Security\IfHasRoleViewHelper TYPO3\CMS\Fluid\ViewHelpers\IfViewHelper TYPO3\CMS\Fluid\ViewHelpers\Security\IfAuthenticatedViewHelper TYPO3\CMS\Fluid\ViewHelpers\Security\IfHasRoleViewHelper TYPO3\CMS\Fluid\ViewHelpers\Be\Widget\PaginateViewHelper TYPO3\CMS\Fluid\ViewHelpers\Widget\AutocompleteViewHelper TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper TYPO3\CMS\Fluid\ViewHelpers\Be\Menus\ActionMenuItemGroupViewHelper

Public Member Functions

 setChildNodes (array $childNodes)
 

Detailed Description

Child Node Access Facet. View Helpers should implement this interface if they need access to the direct children in the Syntax Tree at rendering-time. This might happen if you only want to selectively render a part of the syntax tree depending on some conditions. To render subnodes, 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 TYPO3, this should be all you need.

See for an example how it is used.

Definition at line 26 of file ChildNodeAccessInterface.php.

Member Function Documentation

◆ setChildNodes()

TYPO3\CMS\Fluid\Core\ViewHelper\Facets\ChildNodeAccessInterface::setChildNodes ( array  $childNodes)