RenderViewHelper extends AbstractViewHelper uses CompileWithRenderStatic
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <formvh:render>
FinalYes
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
Table of Contents
Properties
- $escapeOutput : bool
Methods
- initializeArguments() : void
- renderStatic() : string|null
Properties
$escapeOutput
protected
bool
$escapeOutput
= false
Methods
initializeArguments()
public
initializeArguments() : void
renderStatic()
public
static renderStatic(array<string|int, mixed> $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string|null
Parameters
- $arguments : array<string|int, mixed>
- $renderChildrenClosure : Closure
- $renderingContext : RenderingContextInterface