Usage (flexy:foreach="variable,key,value", flexy:foreach="variable,value")
Usage
creates a foreach loop, around the tag and close tag.
string variable - relates to $object->variable
string key - creates a variable 'key' in the current scope.
string value - optionally creates a variable 'value' in the current scope. (as in $key=>$value)
Example 25-1. Setting variables for foreach
Example 25-2. Foreach in template
Example 25-3. Compiled template
Example 25-4. Simple ouput example