Zend Framework
3.0
|
Class allowing for the continuous iteration of a Zend instance. More...
Public Member Functions | |
__construct (Paginator $paginator) | |
current () | |
Return the current element http://php.net/manual/en/iterator.current.php. | |
next () | |
Move forward to next element http://php.net/manual/en/iterator.next.php. | |
key () | |
Return the key of the current element http://php.net/manual/en/iterator.key.php. | |
valid () | |
Checks if current position is valid http://php.net/manual/en/iterator.valid.php. | |
rewind () | |
Rewind the Iterator to the first element http://php.net/manual/en/iterator.rewind.php. | |
getInnerIterator () | |
Returns the inner iterator for the current entry. | |
Protected Attributes | |
$paginator | |
Internal Paginator for iteration. | |
$valid = true | |
Value for valid method. | |
Class allowing for the continuous iteration of a Zend instance.
Useful for representing remote paginated data sources as a single Iterator
__construct | ( | Paginator | $paginator | ) |
current | ( | ) |
Return the current element http://php.net/manual/en/iterator.current.php.
getInnerIterator | ( | ) |
Returns the inner iterator for the current entry.
key | ( | ) |
Return the key of the current element http://php.net/manual/en/iterator.key.php.
next | ( | ) |
Move forward to next element http://php.net/manual/en/iterator.next.php.
rewind | ( | ) |
Rewind the Iterator to the first element http://php.net/manual/en/iterator.rewind.php.
valid | ( | ) |
Checks if current position is valid http://php.net/manual/en/iterator.valid.php.
|
protected |
Value for valid method.