Implements interfaces:
DatabaseIterator use TableIterator, RowIterator and ColumnIterator classes to manipulate database using SPL features. This class implements Iterator and ArrayAccess interfaces; and extends of ArrayObject
[line 216]
[line 211]
TableIterator __construct( string $name, ADOConnection $db)
void current( )
void each( string $callback)
ArrayIterator execute( )
array getColumns( )
string getCreateTable( )
ArrayIterator getIterator( )
array getPrimaryKeys( )
void init( [boolean $conditions = false])
void insert( $data)
The internal array ($_rows) will be empty to perform a new query to database and to retrieve fresh data.
void key( )
integer length( )
RowIterator limit( string $limit)
void loadRows( )
RowIterator newRow( )
void next( )
void offsetExists( $offset)
void offsetGet( $offset)
void offsetSet( $offset, $value)
void offsetUnset( $offset)
RowIterator order_by( string $order_by)
void rewind( )
RowIterator select( [string $cols = '*'])
void setDatabase( ADOConnection $db)
int total( )
void valid( )
RowIterator where( string $where)