PHP Class Prado\Collections\TDummyDataSourceIterator
TDummyDataSourceIterator implements \Iterator interface.
TDummyDataSourceIterator is used by {@link TDummyDataSource}.
It allows TDummyDataSource to return a new iterator
for traversing its dummy items.
Afficher le fichier
Open project: pradosoft/prado
Méthodes publiques
Méthode |
Description |
|
__construct ( $count ) |
Constructor. |
|
current ( ) : mixed |
Returns the current array item. |
|
key ( ) : integer |
Returns the key of the current array item. |
|
next ( ) |
Moves the internal pointer to the next array item. |
|
rewind ( ) |
Rewinds internal array pointer. |
|
valid ( ) : boolean |
Returns whether there is an item at current position. |
|
Method Details
__construct()
public méthode
This method is required by the interface Iterator.
This method is required by the interface Iterator.
This method is required by the interface Iterator.
This method is required by the interface Iterator.
This method is required by the interface Iterator.