Class to handle compiling template function calls for "phrase".
This function compiles language specific text into the template for quick access.
The first argument must be a literal that represents the phrase name.
Additional arguments should be passed in as "name=value", where name is a literal and value can be anything. These will then be inserted into the phrase at the named positions.
| package | XenForo_Template |
|---|
compile(\XenForo_Template_Compiler $compiler, string $function, array $arguments, array $options) : string
stringName of the function called
arrayArguments to the function (should have at least 1)
arrayCompilation options
string_replaceParam(array $match)
$_params