A class used for iterating over items in loops.
package |
data |
---|
__construct(array $array = array()) : void
access |
public |
---|
array
An array of information to make iterable
count() : integer
access |
public |
---|---|
integer
count
current() : mixed
access |
public |
---|---|
mixed
$value The data stored in the current index
getData()
key() : mixed
access |
public |
---|---|
mixed
$key
last() : mixed
access |
public |
---|---|
mixed
$value The value of the last index
next() : mixed
access |
public |
---|---|
mixed
$value The data at the location of the next pointer
previous() : mixed
access |
public |
---|---|
mixed
$value The data at the location of the previous pointer
rewind() : void
access |
public |
---|---|
valid() : mixed
access |
public |
---|---|
mixed
$value The validated data
data :