Class to handle compiling template function calls for "escape".

This function is similar to {$} syntax, but always does HTML escaping, regardless of context.

package XenForo_Template

 Methods

Compile the var named in the first argument and return PHP code to access and escape it.

compile(\XenForo_Template_Compiler $compiler, string $function, array $arguments, array $options) : string

Parameters

$compiler

\XenForo_Template_Compiler

The invoking compiler

$function

string

Name of the function called

$arguments

array

Arguments to the function (should have at least 1)

$options

array

Compilation options

Returns

string