DateTimeViewHelper

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

Extends
AbstractViewHelper
Uses
CompileWithRenderStatic

DateTime viewhelper

Table of Contents

Properties

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

Methods

renderStatic()  : 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

renderStatic()

Render the given timestamp as date & time

public static renderStatic(array $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string

Parameters

$arguments : array
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface

Return values

string
On this page