DateTimeViewHelper
final class \
- Extends
- AbstractViewHelper
- Uses
- CompileWithRenderStatic
See also
This class is the implementation of a Fluid ViewHelper. View it in the TYPO3 ViewHelper reference: <.typo3.cms.indexedsearch.s.format.datetime>
Internal
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