iterator.for ViewHelper <vhs:iterator.for>
¶
Repeats rendering of children with a typical for loop: starting at index $from it will loop until the index has reached $to.
Arguments¶
iteration¶
- DataType
string
- Required
false
- Description
Variable name to insert result into, suppresses output
to¶
- DataType
integer
- Required
true
- Description
Number that the index needs to reach before stopping
from¶
- DataType
integer
- Required
false
- Description
Starting number for the index
step¶
- DataType
integer
- Default
1
- Required
false
- Description
Stepping number that the index is increased by after each loop