PHP Class Neos\FluidAdaptor\ViewHelpers\RenderChildrenViewHelper

This ViewHelper can only be used in a template which belongs to a Widget Controller. It renders everything inside the Widget ViewHelper, and you can pass additional arguments. = Examples = Header Footer <-- in the outer template, using the widget --> Foo: {foo} Header Foo: bar Footer
Inheritance: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$escapeOutput boolean

Public Methods

Method Description
render ( array $arguments = [] ) : string

Protected Methods

Method Description
addArgumentsToTemplateVariableContainer ( array $arguments ) : void Add the given arguments to the TemplateVariableContainer of the widget.
getWidgetChildNodes ( ) : TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\RootNode
getWidgetContext ( ) : WidgetContext
getWidgetRenderingContext ( ) : TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface Get the widget rendering context, or throw an exception if it cannot be found.
removeArgumentsFromTemplateVariableContainer ( array $arguments ) : void Remove the given arguments from the TemplateVariableContainer of the widget.

Method Details

addArgumentsToTemplateVariableContainer() protected method

Add the given arguments to the TemplateVariableContainer of the widget.
protected addArgumentsToTemplateVariableContainer ( array $arguments ) : void
$arguments array
return void

getWidgetChildNodes() protected method

protected getWidgetChildNodes ( ) : TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\RootNode
return TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\RootNode

getWidgetContext() protected method

protected getWidgetContext ( ) : WidgetContext
return Neos\FluidAdaptor\Core\Widget\WidgetContext

getWidgetRenderingContext() protected method

Get the widget rendering context, or throw an exception if it cannot be found.
protected getWidgetRenderingContext ( ) : TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface
return TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface

removeArgumentsFromTemplateVariableContainer() protected method

Remove the given arguments from the TemplateVariableContainer of the widget.
protected removeArgumentsFromTemplateVariableContainer ( array $arguments ) : void
$arguments array
return void

render() public method

public render ( array $arguments = [] ) : string
$arguments array
return string

Property Details

$escapeOutput protected property

protected bool $escapeOutput
return boolean