Iterator Class Reference

List of all members.

Public Member Functions

Public Attributes


Member Function Documentation

Iterator::rewind ()

 

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

Iterator::valid ()

 

Iterator::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.

Returns int

Iterator::current ()

 

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

Returns array

Iterator::next ()

 

Advances internal cursor pos.


Member Data Documentation

private Iterator::$result

 

private Iterator::$pos = 0

 

private Iterator::$fetchmode

 

private Iterator::$row

 

$this Iterator::fetchmode = $rs->getFetchmode()

 


This file is part of the Creole[php4] library.


Copyright © 2004 Hans Lellelid  
Creole[php4] CVS