protected function EasyRdf_Parser_RdfXml::add

@ignore

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

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,
  ));
}