You are here

public function EasyRdf_Collection::__construct in Zircon Profile 8

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

Create a new collection - do not use this directly

@ignore

Overrides EasyRdf_Resource::__construct

File

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

Class

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

Code

public function __construct($uri, $graph) {
  $this->position = 1;
  $this->current = null;
  parent::__construct($uri, $graph);
}