‪TYPO3CMS  9.5
TYPO3\CMS\Form\ViewHelpers\RenderViewHelper Class Reference
Inheritance diagram for TYPO3\CMS\Form\ViewHelpers\RenderViewHelper:

Public Member Functions

 initializeArguments ()
 

Static Public Member Functions

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

Protected Attributes

bool $escapeOutput = false
 

Detailed Description

Main Entry Point to render a Form into a Fluid Template

Usage

Default::

{namespace formvh=TYPO3\CMS\Form\ViewHelpers} <formvh:render factoryClass="NameOfYourCustomFactoryClass" />

The factory class must implement :php:TYPO3\CMS\Form\Domain\Factory\FormFactoryInterface.

Scope: frontend

Definition at line 45 of file RenderViewHelper.php.

Member Function Documentation

◆ initializeArguments()

TYPO3\CMS\Form\ViewHelpers\RenderViewHelper::initializeArguments ( )

Initialize the arguments.

Definition at line 57 of file RenderViewHelper.php.

◆ renderStatic()

static string TYPO3\CMS\Form\ViewHelpers\RenderViewHelper::renderStatic ( array  $arguments,
\Closure  $renderChildrenClosure,
RenderingContextInterface  $renderingContext 
)
static
Parameters
array$arguments
\Closure$renderChildrenClosure
RenderingContextInterface$renderingContext
Returns
‪string

Definition at line 71 of file RenderViewHelper.php.

References TYPO3\CMS\Core\Utility\ArrayUtility\mergeRecursiveWithOverrule().

Member Data Documentation

◆ $escapeOutput

bool TYPO3\CMS\Form\ViewHelpers\RenderViewHelper::$escapeOutput = false
protected

Definition at line 50 of file RenderViewHelper.php.