Class to handle compiling template function calls for "checked" and "selected".

If the specified condition is true, the checked/selected HTML attribute will be outputted.

package XenForo_Template

 Methods

Compiles the function call.

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