RenderViewHelper extends AbstractViewHelper uses CompileWithRenderStatic

ViewHelper

This class is the implementation of a Fluid ViewHelper.

View this class in the TYPO3 ViewHelper reference: <formvh:render>

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()  : mixed
Initialize the arguments.
renderStatic()  : string

Properties

$escapeOutput

protected bool $escapeOutput = false

Methods

initializeArguments()

Initialize the arguments.

public initializeArguments() : mixed
Internal

renderStatic()

public static renderStatic(array<string|int, mixed> $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
$arguments : array<string|int, mixed>
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface
Return values
string

        
On this page

Search results