protected function EasyRdf_Parser_RdfXml::reify

@ignore

2 calls to EasyRdf_Parser_RdfXml::reify()
EasyRdf_Parser_RdfXml::endState4 in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php
@ignore
EasyRdf_Parser_RdfXml::startState2 in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php
@ignore

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php, line 195

Class

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

Code

protected function reify($t, $s, $p, $o, $sType, $oType, $oDatatype = null, $oLang = null) {
  $this
    ->add($t, $this->rdf . 'type', $this->rdf . 'Statement', 'uri', 'uri');
  $this
    ->add($t, $this->rdf . 'subject', $s, 'uri', $sType);
  $this
    ->add($t, $this->rdf . 'predicate', $p, 'uri', 'uri');
  $this
    ->add($t, $this->rdf . 'object', $o, 'uri', $oType, $oDatatype, $oLang);
}