Class to handle compiling template function calls for "if".
If the specified condition evaluates to true, the true argument will be evaluated. Otherwise, the false argument will be evaluated (if specified).
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