creole.drivers.sqlite
[ class tree: creole.drivers.sqlite ] [ index: creole.drivers.sqlite ] [ all elements ]

Class: SQLiteResultSetIterator

Source Location: /creole/drivers/sqlite/SQLiteResultSetIterator.php

Class Overview


Optimized iterator for SQLite.


Author(s):

Version:

  • $Revision: 1.3 $

Methods



Class Details

[line 29]
Optimized iterator for SQLite.



Tags:

version:  $Revision: 1.3 $
author:  Hans Lellelid <hans@xmpl.org>


[ Top ]


Class Methods


constructor __construct [line 40]

SQLiteResultSetIterator __construct( SQLiteResultSet $rs)

Construct the iterator.



Tags:

access:  public


Parameters:

SQLiteResultSet   $rs  

[ Top ]

method current [line 74]

array current( )

Returns the row (assoc array) at current cursor pos.



[ Top ]

method key [line 65]

int key( )

Returns the cursor position. Note that this will not necessarily be 1 for the first row, since no rewind is performed at beginning of iteration.



[ Top ]

method next [line 82]

void next( )

Advances internal cursor pos.



[ Top ]

method rewind [line 49]

void rewind( )

This method actually has no effect, since we do not rewind ResultSet for iteration.



[ Top ]

method valid [line 54]

void valid( )



[ Top ]


Documentation generated on Mon, 23 Aug 2004 21:53:16 -0400 by phpDocumentor 1.3.0RC3