PdoIterator
class PdoIterator extends DataIterator (View source)
The PdoIterator class.
Methods
Details
in DataIterator at line line 54
__construct(AbstractReader $reader, string $class = 'stdClass')
Constructor.
in DataIterator at line line 67
__destruct()
Database iterator destructor.
in DataIterator at line line 77
mixed
current()
Return the current element
in DataIterator at line line 87
void
next()
Move forward to next element
in DataIterator at line line 103
mixed
key()
Return the key of the current element
in DataIterator at line line 114
boolean
valid()
Checks if current position is valid
in DataIterator at line line 124
void
rewind()
Rewind the Iterator to the first element
in DataIterator at line line 133
int
count()
Count elements of an object