|
KWeb
6.4
|
Data read from array. More...
Public Member Functions | |
| __construct (Iterator $iterator, array $options=array()) | |
| count () | |
| current () | |
| next () | |
| Moves to the next position. | |
| currentPosition () | |
| Returns current position in the set. | |
| valid () | |
| Returns item at current position, staying at the current position. | |
| seek ($pos) | |
| getInnerIterator () | |
| isBidirectional () | |
| Returns true if data can be traversed in both directions. | |
| key () | |
| Returns current position in the set. | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
| rewind () | |
| Rewinds to the beginning. | |
| close () | |
| Closes the collection and frees up resources. | |
| prefetch ($limit=false, $start=false) | |
| Items will be prefetched (if needed) in a batch for later retrieval. | |
Protected Attributes | |
| $iterator | |
Data read from array.
| Collection_Iterator::__construct | ( | Iterator $ | iterator, |
| array $ | options = array() |
||
| ) |
| Collection_Iterator::close | ( | ) |
Closes the collection and frees up resources.
Reimplemented from Collection.
| Collection_Iterator::count | ( | ) |
| Collection_Iterator::current | ( | ) |
| Collection_Iterator::currentPosition | ( | ) |
Returns current position in the set.
Reimplemented from Collection.
| Collection_Iterator::getInnerIterator | ( | ) |
| Collection_Iterator::isBidirectional | ( | ) |
Returns true if data can be traversed in both directions.
Reimplemented from Collection.
| Collection_Iterator::key | ( | ) |
Returns current position in the set.
Reimplemented from Collection.
| Collection_Iterator::next | ( | ) |
Moves to the next position.
Reimplemented from Collection.
| Collection_Iterator::offsetExists | ( | $ | offset | ) |
Reimplemented from Collection.
| Collection_Iterator::offsetGet | ( | $ | offset | ) |
Reimplemented from Collection.
| Collection_Iterator::offsetSet | ( | $ | offset, |
| $ | value | ||
| ) |
Reimplemented from Collection.
| Collection_Iterator::offsetUnset | ( | $ | offset | ) |
Reimplemented from Collection.
| Collection_Iterator::prefetch | ( | $ | limit = false, |
| $ | start = false |
||
| ) |
Items will be prefetched (if needed) in a batch for later retrieval.
| Number | of items to prefetch or false |
| Start | of the prefetch or false for current position |
Reimplemented from Collection.
| Collection_Iterator::rewind | ( | ) |
Rewinds to the beginning.
Reimplemented from Collection.
| Collection_Iterator::seek | ( | $ | pos | ) |
| Collection_Iterator::valid | ( | ) |
Returns item at current position, staying at the current position.
Returns true if there is data at current possition
Reimplemented from Collection.
Collection_Iterator::$iterator [protected] |