JDatabaseIterator
class JDatabaseIterator implements Countable, Iterator
Joomla Platform Database Driver Class
Methods
__construct(
mixed $cursor,
string $column = null,
string $class = 'stdClass')
Database iterator constructor.
__destruct()
Database iterator destructor.
object
current()
The current element in the iterator.
int|string
key()
The key of the current element in the iterator.
void
next()
Moves forward to the next result from the SQL query.
void
rewind()
Rewinds the iterator.
boolean
valid()
Checks if the current position of the iterator is valid.