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
string
Name of the function called
array
Arguments to the function (should have at least 1)
array
Compilation options
string
_replaceParam(array $match)
$_params