For ViewHelper <f:for> 

Loop ViewHelper which can be used to iterate over arrays. Implements what a basic PHP foreach() does.

Go to the source code of this ViewHelper: ForViewHelper.php (GitHub).

Arguments of the <f:for> ViewHelper 

as

as
Type
string
Required
1
The name of the iteration variable

each

each
Type
array
Required
1
The array or \SplObjectStorage to iterated over

iteration

iteration
Type
string
The name of the variable to store iteration information (index, cycle, total, isFirst, isLast, isEven, isOdd)

key

key
Type
string
Variable to assign array key to

reverse

reverse
Type
boolean
Default
false
If true, iterates in reverse