DateTimeViewHelper

final class \TYPO3\CMS\IndexedSearch\ViewHelpers\Format\DateTimeViewHelper

Extends
AbstractViewHelper

ViewHelper to wrap a `BackendUtility::datetime()` call in Fluid

  <is:format.dateTime>{data.item_mtime}</is:format.dateTime>

Table of Contents

Properties

$escapeChildren  : bool
The rendered children are fed into data() function, which expects an integer.

Methods

render()  : string
Render the given timestamp as date & time.

Properties

$escapeChildren

The rendered children are fed into data() function, which expects an integer.

protected bool $escapeChildren = false

It reduces overhead and is safe to disable children escaping here.

Methods

render()

Render the given timestamp as date & time.

public render() : string

Return values

string
On this page