PHP Class Horde_View_Helper_Text_Cycle, horde

Author: Mike Naberezny ([email protected])
Author: Derek DeVries ([email protected])
Author: Chuck Hagenbuch ([email protected])
Mostra file Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( array $values ) Construct a new cycler
__toString ( ) : mixed Returns the current element in the cycle and advance the cycle
getValues ( ) : array Returns the values of this cycler.
reset ( ) Reset the cycle

Method Details

__construct() public method

Construct a new cycler
public __construct ( array $values )
$values array Values to cycle through

__toString() public method

Returns the current element in the cycle and advance the cycle
public __toString ( ) : mixed
return mixed Current element

getValues() public method

Returns the values of this cycler.
public getValues ( ) : array
return array

reset() public method

Reset the cycle
public reset ( )