Publisher review:Cycle is a PHP class for iterating through a list of strings. Cycle is a PHP class for iterating through a list of strings.
Cycling through a list ( array ) of strings is a common need. Particularly when you want to flip flop through colors on table rows.
The class has three methods:
- load: This function takes a string and adds it to its internal list
- getNext: returns the next string on the list and returns the first string if at the end of the list.
- reset_pointer: sets getNext to return the first string on the list.
Cycle Class is a PHP script for PHP Classes scripts design by web-professor.net.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Cycle is a PHP class for iterating through a list of strings.
Operating system:Windows / Linux / Mac OS / BSD / Solaris