Implements interfaces:
Wrap a librdf_stream resource as an iterable object.
This class should not be created directly, nor are its methods of interest to the casual user. Its only intent is to provide a return type for LibRDF_Model::find_statements, as well as the underlying iterator for both LibRDF_Model and LibRDF_GraphQueryResults, that can then be used in a PHP foreach statement without any direct function calls.
Objects of this type may only be used for iteration once. Once iteration has begun, a call to rewind will render the object invalid.
Located in /Iterator.php (line 62)
Create a new iterable object from a librdf_stream resource.
User functions should not create librdf_stream resources directly, so this constructor is intended only to provide an interface into the streams returned by librdf functions and called by LibRDF classes.
Free the stream's resources.
Return the current statement or NULL if the stream is no longer valid.
Return the key of the current element on the stream.
Advance the stream's position.
Rewind the stream.
Rewinding is not supported, so this call invalidates the stream unless the stream is still at the starting position.
Return whether the stream is still valid.
Clone a LibRDF_StreamIterator object.
Cloning a stream is unsupported, so using the clone operator on a LibRDF_StreamIterator object will produce an empty iterator.
Documentation generated on Thu, 15 Jun 2006 19:25:12 -0400 by phpDocumentor 1.3.0