Method |
Description |
|
__construct ( $query, $hydrator = null ) |
Constructor |
|
before ( $callback ) |
Add a callback to be called with the query before it's executed |
|
count ( ) |
Counts the number or results in the query |
|
current ( ) : array |
Returns the row that matches the current position |
|
key ( ) : integer |
Returns the current position |
|
next ( ) |
Moves the internal pointer one step forward |
|
rewind ( ) |
Rewinds the internal pointer |
|
seek ( $position ) |
Seeks to a particular position in the result. Offset is from 0. |
|
setHydrator ( $hydrator ) |
Sets a hydrator to be used |
|
valid ( ) : boolean |
Returns true if the current position is valid, false otherwise. |
|