Fluid
Fluid copied to clipboard
f:range ViewHelper
A new <f:range> ViewHelper should be added to Fluid, which returns an array that contains the specified range of integers. We currently limit this to integers because floats would require support for proper mixed types in Fluid.
Arguments:
- int $start
- int $end
- int $step
See also the php range() function.
Example:
<f:for each="{f:range(start: 1, end: 5)}" as="i">
{i}
</f:for>