Class IteratorAllGraphsMem

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=$it->current(); };

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


	
			
Variable Summary
object dataset $associatedGraphSet
obejct $current
integer $key
boolean $valid
Method Summary
IteratorAllGraphsMem IteratorAllGraphsMem (mixed &$namedGraphSet)
mixed &current ()
integer key ()
void next ()
void rewind ()
boolean valid ()
Variables
object dataset $associatedGraphSet (line 31)

Holds a reference to the associated RDF dataset

  • access: private
obejct $current (line 55)

The current NamedGraph

  • var: NamedGraph
  • access: private
integer $key (line 39)

The current position

  • access: private
boolean $valid (line 47)

If the current resource is valid

  • access: private
Methods
Constructor IteratorAllGraphsMem (line 64)

Constructor.

  • access: public
IteratorAllGraphsMem IteratorAllGraphsMem (mixed &$namedGraphSet)
current (line 109)

Returns the current item.

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

Returns the key of the current item.

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

Moves Iterator to the next item in the list.

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

Resets iterator list to start

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

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