iterator.reverse

Iterator Reversal ViewHelper

Reverses the order of every member of an Iterator/Array, preserving the original keys.

Arguments

subject

DataType
mixed
Required
false
Description
The input array/Traversable to reverse

as

DataType
string
Required
false
Description
Template variable name to assign; if not specified the ViewHelper returns the variable instead.