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(); };

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


	
			
Variable Summary
obejct $current
datasetDb $datasetDb
$dbResultSets $dbResultSet
integer $key
Method Summary
IteratorAllGraphsDb IteratorAllGraphsDb (mixed &$dbResultSet, mixed &$datasetDb)
mixed &current ()
integer key ()
void next ()
void rewind ()
boolean valid ()
Variables
obejct $current (line 53)

The current NamedGraph

  • var: NamedGraph
  • access: private
datasetDb $datasetDb (line 37)

Holds a reference to the associated datasetDb

  • access: private
$dbResultSets $dbResultSet (line 30)

Holds a reference to the associated DB resultSet

  • var: ADODB result
  • access: private
integer $key (line 45)

The current position

  • access: private
Methods
Constructor IteratorAllGraphsDb (line 65)

Constructor.

  • access: public
IteratorAllGraphsDb IteratorAllGraphsDb (mixed &$dbResultSet, mixed &$datasetDb)
current (line 110)

Returns the current item

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

Returns the key of the current item

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

Moves Iterator to the next item in the list

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

Resets iterator list to start

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

Says if there are additional items left in the list

  • access: public
boolean valid ()

Documentation generated on Mon, 26 Jun 2006 14:25:33 +0200 by phpDocumentor 1.3.0RC6