protected function EasyRdf_Parser_RdfXml::reify in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php \EasyRdf_Parser_RdfXml::reify()
@ignore
2 calls to EasyRdf_Parser_RdfXml::reify()
- EasyRdf_Parser_RdfXml::endState4 in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Parser/ RdfXml.php - @ignore
- EasyRdf_Parser_RdfXml::startState2 in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Parser/ RdfXml.php - @ignore
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Parser/ RdfXml.php, line 194
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);
}