You are here

public function EasyRdf_Collection::rewind in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/easyrdf/easyrdf/lib/EasyRdf/Collection.php \EasyRdf_Collection::rewind()

Rewind the iterator back to the start of the collection

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Collection.php, line 95

Class

EasyRdf_Collection
Sub-class of EasyRdf_Resource that represents an RDF collection (rdf:List)

Code

public function rewind() {
  $this->position = 1;
  $this->current = null;
}