DateTimeViewHelper extends AbstractViewHelper uses CompileWithRenderStatic
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <.typo3.cms.indexedsearch.s.format.datetime>
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<string|int, mixed> $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
- $arguments : array<string|int, mixed>
- $renderChildrenClosure : Closure
- $renderingContext : RenderingContextInterface