Class to handle compiling template function calls for "date", "time", and "datetime".
A formatted date or time will be output based on the timestamp in the first argument and the browsing user's language.
An optional format override can be passed as the second argument. If provided, this argument should be a named format.
package | XenForo_Template |
---|
compile(\XenForo_Template_Compiler $compiler, string $function, array $arguments, array $options) : string
string
Name of the function called
array
Arguments to the function (should have at least 1)
array
Compilation options
string