[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/creole/drivers/pgsql/ -> PgSQLResultSetIterator.php (sommaire)

(pas de description)

Poids: 109 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

PgSQLResultSetIterator:: (8 méthodes):
  __construct()
  rewind()
  valid()
  key()
  current()
  next()
  seek()
  count()


Classe: PgSQLResultSetIterator  - X-Ref

Optimized iterator for PostgreSQL, based off of SQLite iterator.
Testing with SeekableIterator, no idea if it will keep this
functionality or what uses it or even how to use it as yet.

__construct(PgSQLResultSet $rs)   X-Ref
Construct the iterator.

param: PgSQLResultSet $rs

rewind()   X-Ref
This method actually has no effect, since we do not rewind ResultSet for iteration.


valid()   X-Ref
Pas de description

key()   X-Ref
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.

return: int

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

return: array

next()   X-Ref
Advances internal cursor pos.


seek( $index )   X-Ref
Sets cursor to specific value.


count( )   X-Ref
Pas de description



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7