RecordViewHelper

final class \TYPO3\CMS\Fluid\ViewHelpers\Render\RecordViewHelper

Extends
AbstractViewHelper

ViewHelper to render a record object using its TypoScript definition.

The most common use case is to render a content element, which is available as a record object in a Fluid template.

  <f:render.record record="{record}" />

or:

  {record -> f:render.record()}

Tags

see
https://docs.typo3.org/permalink/t3viewhelper:typo3-fluid-render-record

Table of Contents

Properties

$escapeOutput  : bool

Methods

__construct()  : mixed
getContentArgumentName()  : string
initializeArguments()  : void
render()  : string

Properties

$escapeOutput

protected bool $escapeOutput = false

use content as-is

Methods

__construct()

public __construct(EventDispatcherInterface $eventDispatcher, TimeTracker $timeTracker) : mixed

Parameters

$eventDispatcher : EventDispatcherInterface
$timeTracker : TimeTracker

getContentArgumentName()

public getContentArgumentName() : string

Return values

string

initializeArguments()

public initializeArguments() : void
On this page