Feature #4460
Add GroupedForViewHelper
Start date:
2009-09-04
Due date:
% Done:
100%
Estimated time:
Has patch:
Description
Provide a view helper that allows to iterate through values and group the result by a given key.
This might look like:
<f:groupedFor each="{fruits}" as="fruitsOfThisColor" groupBy="color" groupKey="theColor"> <h3>{theColor}:</h3> <f:for each="{fruitsOfThisColor}" as="fruit"> {fruit.name}<br /> </f:for> </f:groupedFor>
Patch follows.
Updated by Bastian Waidelich over 12 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r3190.