![]() |
Wordless
Stop writing themes like it's 1998.
|
This module provides methods for cycling iteration inside views. More...
Public Member Functions | |
| __construct ($values) | |
| Build the class with the specified values. More... | |
| values () | |
| Returns values. More... | |
| reset () | |
| Reset the cycle index. | |
| current_value () | |
| Returns the current value in iteration. More... | |
| value () | |
| Returns the current value and iterate to the next value. More... | |
| next () | |
| Goes to the next value in the iteration. | |
This module provides methods for cycling iteration inside views.
| Cycle::__construct | ( | $values | ) |
Build the class with the specified values.
| mixed | $values | Data through which class will cycle. |
| Cycle::current_value | ( | ) |
Returns the current value in iteration.
| Cycle::value | ( | ) |
Returns the current value and iterate to the next value.
| Cycle::values | ( | ) |
Returns values.
1.8.17