Feature #4458

Add CycleViewHelper

Added by Bastian Waidelich over 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Could have
Category:
ViewHelpers
Target version:
-
Start date:
2009-09-04
Due date:
% Done:

100%

Estimated time:
Has patch:

Description

A cycle view helper is useful for iterating through a predefined set of values in loops. E.g.:

<f:cycle values="{0: 'odd', 1: 'even'}" as="zebraClass">
    <li class="{zebraClass}">{foo}</li>
</f:cycle>

Patch follows.

#1

Updated by Sebastian Kurfuerst over 12 years ago

  • Status changed from New to Accepted
#2

Updated by Bastian Waidelich over 12 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3190.

Also available in: Atom PDF