‪TYPO3CMS  9.5
TYPO3\CMS\Fluid\ViewHelpers\RenderChildrenViewHelper Class Reference
Inheritance diagram for TYPO3\CMS\Fluid\ViewHelpers\RenderChildrenViewHelper:

Public Member Functions

 initializeArguments ()
 

Static Public Member Functions

static mixed renderStatic (array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
 

Static Protected Member Functions

static TYPO3Fluid Fluid Core Rendering RenderingContextInterface getWidgetRenderingContext (RenderingContextInterface $renderingContext)
 
static TYPO3Fluid Fluid Core Parser SyntaxTree RootNode getWidgetChildNodes (RenderingContextInterface $renderingContext)
 
static TYPO3 CMS Fluid Core Widget WidgetContext getWidgetContext (RenderingContextInterface $renderingContext)
 
static addArgumentsToTemplateVariableContainer (RenderingContextInterface $renderingContext, array $arguments)
 
static removeArgumentsFromTemplateVariableContainer (RenderingContextInterface $renderingContext, array $arguments)
 

Protected Attributes

bool $escapeOutput = false
 

Detailed Description

Render the inner parts of a Widget. 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.

Definition at line 28 of file RenderChildrenViewHelper.php.

Member Function Documentation

◆ addArgumentsToTemplateVariableContainer()

static TYPO3\CMS\Fluid\ViewHelpers\RenderChildrenViewHelper::addArgumentsToTemplateVariableContainer ( RenderingContextInterface  $renderingContext,
array  $arguments 
)
staticprotected

Add the given arguments to the TemplateVariableContainer of the widget.

Parameters
RenderingContextInterface$renderingContext
array$arguments

Definition at line 106 of file RenderChildrenViewHelper.php.

◆ getWidgetChildNodes()

static TYPO3Fluid Fluid Core Parser SyntaxTree RootNode TYPO3\CMS\Fluid\ViewHelpers\RenderChildrenViewHelper::getWidgetChildNodes ( RenderingContextInterface  $renderingContext)
staticprotected
Parameters
RenderingContextInterface$renderingContext
Returns
‪\TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\RootNode

Definition at line 81 of file RenderChildrenViewHelper.php.

◆ getWidgetContext()

static TYPO3 CMS Fluid Core Widget WidgetContext TYPO3\CMS\Fluid\ViewHelpers\RenderChildrenViewHelper::getWidgetContext ( RenderingContextInterface  $renderingContext)
staticprotected
Parameters
RenderingContextInterface$renderingContext
Exceptions

Definition at line 91 of file RenderChildrenViewHelper.php.

◆ getWidgetRenderingContext()

static TYPO3Fluid Fluid Core Rendering RenderingContextInterface TYPO3\CMS\Fluid\ViewHelpers\RenderChildrenViewHelper::getWidgetRenderingContext ( RenderingContextInterface  $renderingContext)
staticprotected

Get the widget rendering context, or throw an exception if it cannot be found.

Parameters
RenderingContextInterface$renderingContext
Exceptions

Definition at line 68 of file RenderChildrenViewHelper.php.

◆ initializeArguments()

TYPO3\CMS\Fluid\ViewHelpers\RenderChildrenViewHelper::initializeArguments ( )

Initialize arguments

Definition at line 40 of file RenderChildrenViewHelper.php.

◆ removeArgumentsFromTemplateVariableContainer()

static TYPO3\CMS\Fluid\ViewHelpers\RenderChildrenViewHelper::removeArgumentsFromTemplateVariableContainer ( RenderingContextInterface  $renderingContext,
array  $arguments 
)
staticprotected

Remove the given arguments from the TemplateVariableContainer of the widget.

Parameters
RenderingContextInterface$renderingContext
array$arguments

Definition at line 120 of file RenderChildrenViewHelper.php.

◆ renderStatic()

static mixed TYPO3\CMS\Fluid\ViewHelpers\RenderChildrenViewHelper::renderStatic ( array  $arguments,
\Closure  $renderChildrenClosure,
RenderingContextInterface  $renderingContext 
)
static
Parameters
array$arguments
\Closure$renderChildrenClosure
RenderingContextInterface$renderingContext
Returns
‪mixed

Definition at line 51 of file RenderChildrenViewHelper.php.

References $output.

Member Data Documentation

◆ $escapeOutput

bool TYPO3\CMS\Fluid\ViewHelpers\RenderChildrenViewHelper::$escapeOutput = false
protected

As this ViewHelper might render HTML, the output must not be escaped

Definition at line 35 of file RenderChildrenViewHelper.php.