You are here

protected function EasyRdf_Parser_RdfXml::startState0 in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php \EasyRdf_Parser_RdfXml::startState0()

@ignore

1 call to EasyRdf_Parser_RdfXml::startState0()
EasyRdf_Parser_RdfXml::startElementHandler in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php
@ignore

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php, line 268

Class

EasyRdf_Parser_RdfXml
A pure-php class to parse RDF/XML.

Code

protected function startState0($t, $a) {
  $this->state = 1;
  if ($t !== $this->rdf . 'RDF') {
    $this
      ->startState1($t, $a);
  }
  else {
    if (isset($a[$this->xml . 'base'])) {
      $this->xBase = $this->xBase
        ->resolve($a[$this->xml . 'base']);
    }
  }
}