You are here

protected function EasyRdf_Parser_RdfXml::add 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::add()

@ignore

5 calls to EasyRdf_Parser_RdfXml::add()
EasyRdf_Parser_RdfXml::endState4 in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php
@ignore
EasyRdf_Parser_RdfXml::endState6 in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php
@ignore
EasyRdf_Parser_RdfXml::reify in vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php
@ignore
EasyRdf_Parser_RdfXml::startState1 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 179

Class

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

Code

protected function add($s, $p, $o, $sType, $oType, $oDatatype = null, $oLang = null) {
  $this
    ->addTriple($s, $p, array(
    'type' => $oType,
    'value' => $o,
    'lang' => $oLang,
    'datatype' => $oDatatype,
  ));
}