Class \Prado\Collections\TDummyDataSourceIterator
TDummyDataSourceIterator class
TDummyDataSourceIterator implements \Iterator interface.
TDummyDataSourceIterator is used by TDummyDataSource. It allows TDummyDataSource to return a new iterator for traversing its dummy items.
Class hierarchy
- \Prado\Collections\TDummyDataSourceIterator implements Iterator
Since: 3.0
public
|
|
public
|
current() : mixed
Returns the current array item.
This method is required by the interface Iterator. |
public
|
key() : int
Returns the key of the current array item.
This method is required by the interface Iterator. |
public
|
next() : void
Moves the internal pointer to the next array item.
This method is required by the interface Iterator. |
public
|
|
public
|
valid() : bool
Returns whether there is an item at current position.
This method is required by the interface Iterator. |
|