Class to handle compiling template tag calls for "foreach".
package | XenForo_Template |
---|
compile(\XenForo_Template_Compiler $compiler, string $tag, array $attributes, array $children, array $options) : string
string
Name of the tag called
array
Attributes for the tag (may be empty)
array
Nodes (tags/curlies/text) within this tag (may be empty)
array
Compilation options
string
compileForeach(string $inner, \XenForo_Template_Compiler $compiler, array $attributes, array $options) : \XenForo_Compiler_Statement_Raw
string
Compiled inner code
\XenForo_Template_Compiler
array
array
\XenForo_Compiler_Statement_Raw