Class IteratorAllGraphsDb

Description

Implementation of a Graph iterator.

This Iterator should be used in a for-loop like: for($iterator = $dataset->listGraphs(); $iterator->valid(); $iterator->next()) { $currentResource=$iterator->current(); };



History: <LI>05-03-2005 : First version of this class.</LI>

Located in /dataset/IteratorAllGraphsDb.php (line 30)


	
			
Method Summary
IteratorAllGraphsDb IteratorAllGraphsDb (ADODBResultSet &$dbResultSet, DatasetDb &$datasetDb)
mixed &current ()
integer key ()
void next ()
void rewind ()
boolean valid ()
Methods
Constructor IteratorAllGraphsDb (line 72)

Constructor.

  • access: public
IteratorAllGraphsDb IteratorAllGraphsDb (ADODBResultSet &$dbResultSet, DatasetDb &$datasetDb)
  • ADODBResultSet &$dbResultSet
  • DatasetDb &$datasetDb
current (line 117)

Returns the current item

  • access: public
mixed &current ()
key (line 129)

Returns the key of the current item

  • access: public
integer key ()
next (line 105)

Moves Iterator to the next item in the list

  • access: public
void next ()
rewind (line 84)

Resets iterator list to start

  • access: public
void rewind ()
valid (line 95)

Says if there are additional items left in the list

  • access: public
boolean valid ()

Documentation generated on Thu, 7 Jul 2005 13:41:45 +0200 by phpDocumentor 1.3.0RC3