Horde_View_Helper_Text_Cycle
in package
View helpers for URLs
Tags
Table of Contents
- $_values : array<string|int, mixed>
- Array of values to cycle through
- __construct() : mixed
- Construct a new cycler
- __toString() : mixed
- Returns the current element in the cycle and advance the cycle
- getValues() : array<string|int, mixed>
- Returns the values of this cycler.
- reset() : mixed
- Reset the cycle
Properties
$_values
Array of values to cycle through
private
array<string|int, mixed>
$_values
Methods
__construct()
Construct a new cycler
public
__construct(array<string|int, mixed> $values) : mixed
Parameters
- $values : array<string|int, mixed>
-
Values to cycle through
Return values
mixed —__toString()
Returns the current element in the cycle and advance the cycle
public
__toString() : mixed
Return values
mixed —Current element
getValues()
Returns the values of this cycler.
public
getValues() : array<string|int, mixed>
Return values
array<string|int, mixed> —reset()
Reset the cycle
public
reset() : mixed