Source for file FindIterator.php
Documentation is available at FindIterator.php
// ----------------------------------------------------------------------------------
// Class: RDF_FindIterator
// ----------------------------------------------------------------------------------
* Iterator for traversing statements matching a searchpattern.
* RDF_FindIterators are returned by model->findAsIterator()
* Using a find iterator is significantly faster than using model->find() which returns
* Reference to the Model_Memory
* @var object Model_Memory
* RDF_FindIterator does not use the build in PHP array iterator,
* so you can use serveral iterators on a single Model_Memory.
* @var Object Subject, Predicate, Object
* @param object Model_Memory
* @param object Predicate
* Returns true if there are more matching statements.
* Returns the next matching statement.
* @return tatement or NULL if there is no next matching statement.
return $this->model->triples [$res];
* Returns the current matching statement.
* @return statement or NULL if there is no current matching statement.
Documentation generated on Mon, 11 Mar 2019 15:39:28 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|