Source for file StatementIterator.php
Documentation is available at StatementIterator.php
// ----------------------------------------------------------------------------------
// Class: RDF_StatementIterator
// ----------------------------------------------------------------------------------
* Iterator for traversing models.
* This class can be used for iterating forward and backward trough Model_Memorys.
* It should be instanced using the getIterator() method of a Model_Memory.
* @author Chris Bizer <chris@bizer.de>
* Reference to the Model_Memory
* @var object Model_Memory
* StatementIterator does not use the build in PHP array iterator,
* so you can use serveral iterators on a single Model_Memory.
* @param object Model_Memory
* Returns TRUE if there are more statements.
* Returns TRUE if the first statement has not been reached.
* Returns the next statement.
* @return statement or null if there is no next statement.
* Returns the previous statement.
* @return statement or null if there is no previous statement.
* Returns the current statement.
* @return statement or null if there is no current statement.
* Moves the pointer to the first statement.
* Moves the pointer to the last statement.
* Moves the pointer to a specific statement.
* If you set an off-bounds value, next(), previous() and current() will return null
* Returns the current position of the iterator.
Documentation generated on Mon, 11 Mar 2019 15:39:30 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|