ResultSetIterator Class Reference

List of all members.

Public Member Functions

Public Attributes


Constructor & Destructor Documentation

ResultSetIterator::ResultSetIterator ( &$  rs)

 

Construct the iterator.

Parameters:
ResultSet $rs


Member Function Documentation

ResultSetIterator::rewind ()

 

If not at start of resultset, this method will call seek(0).

See also ResultSet::seek()

& ResultSetIterator::hasMore ()

 

This method checks to see whether there are more results by advancing the cursor position.

See also ResultSet::next()

ResultSetIterator::key ()

 

Returns the cursor position.

Returns int

& ResultSetIterator::current ()

 

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

Returns array

ResultSetIterator::next ()

 

This method does not actually do anything since we have already advanced the cursor pos in hasMore().

See also hasMore()


Member Data Documentation

ResultSetIterator::$rs

 


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


Copyright © 2004 Hans Lellelid  
Creole[php4] CVS