You are here

public function EasyRdf_Container::current in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Container.php \EasyRdf_Container::current()

Return the current item in the container

Return value

mixed The current item

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Container.php, line 99

Class

EasyRdf_Container
Sub-class of EasyRdf_Resource that represents an RDF container (rdf:Alt, rdf:Bag and rdf:Seq)

Code

public function current() {
  return $this
    ->get('rdf:_' . $this->position);
}