ForeachNode
class ForeachNode extends StatementNode
{foreach $array as $item} ... {/foreach} {foreach $array as $key => $value} ... {else} ... {/foreach}
Properties
| $expression | |||
| $key | |||
| $byRef | |||
| $value | |||
| $content | |||
| $else | |||
| $iterator | |||
| $checkArgs |
Methods
Details
at line 83
string
print(PrintContext $context)
No description
at line 164
Generator
getIterator()
No description
at line 181
static void
overwrittenVariablesPass(TemplateNode $node)
Pass: checks if foreach overrides template variables.