‪TYPO3CMS  10.4
TYPO3\CMS\Form\Domain\Renderer\RendererInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Form\Domain\Renderer\RendererInterface:
TYPO3\CMS\Form\Domain\Renderer\AbstractElementRenderer TYPO3\CMS\Form\Domain\Renderer\FluidFormRenderer

Public Member Functions

 setControllerContext (ControllerContext $controllerContext)
 
string render ()
 
 setFormRuntime (FormRuntime $formRuntime)
 
FormRuntime getFormRuntime ()
 

Detailed Description

Base interface for Renderers. A Renderer is used to render a form.

Scope: frontend This interface is meant to be implemented by developers, although often you will subclass AbstractElementRenderer (AbstractElementRenderer).

Definition at line 34 of file RendererInterface.php.

Member Function Documentation

◆ getFormRuntime()

FormRuntime TYPO3\CMS\Form\Domain\Renderer\RendererInterface::getFormRuntime ( )
Returns
‪FormRuntime

Implemented in TYPO3\CMS\Form\Domain\Renderer\AbstractElementRenderer.

◆ render()

string TYPO3\CMS\Form\Domain\Renderer\RendererInterface::render ( )

Note: This method is expected to call the 'beforeRendering' hook on each $renderable

Returns
‪string the rendered $formRuntime

Implemented in TYPO3\CMS\Form\Domain\Renderer\FluidFormRenderer.

◆ setControllerContext()

TYPO3\CMS\Form\Domain\Renderer\RendererInterface::setControllerContext ( ControllerContext  $controllerContext)

Set the controller context which should be used

Parameters
ControllerContext$controllerContext

Implemented in TYPO3\CMS\Form\Domain\Renderer\AbstractElementRenderer.

◆ setFormRuntime()

TYPO3\CMS\Form\Domain\Renderer\RendererInterface::setFormRuntime ( FormRuntime  $formRuntime)
Parameters
FormRuntime$formRuntime

Implemented in TYPO3\CMS\Form\Domain\Renderer\AbstractElementRenderer.