.. include:: /Includes.rst.txt .. _typo3fluid-fluid-for: === for === Loop view helper which can be used to iterate over arrays. Implements what a basic foreach()-PHP-method does. = Examples = {foo} 1234 Arguments ========= .. _for_each: each ---- :aspect:`DataType` mixed :aspect:`Required` false :aspect:`Description` The array or \SplObjectStorage to iterated over .. _for_as: as -- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` The name of the iteration variable .. _for_key: key --- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Variable to assign array key to .. _for_reverse: reverse ------- :aspect:`DataType` boolean :aspect:`Required` false :aspect:`Description` If TRUE, iterates in reverse .. _for_iteration: iteration --------- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` The name of the variable to store iteration information (index, cycle, isFirst, isLast, isEven, isOdd)