protected function EasyRdf_Parser_RdfXml::getParentXBase in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/RdfXml.php \EasyRdf_Parser_RdfXml::getParentXBase()
@ignore
1 call to EasyRdf_Parser_RdfXml::getParentXBase()
- EasyRdf_Parser_RdfXml::startState1 in vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Parser/ RdfXml.php - @ignore
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Parser/ RdfXml.php, line 133
Class
- EasyRdf_Parser_RdfXml
- A pure-php class to parse RDF/XML.
Code
protected function getParentXBase() {
if ($p = $this
->getParentS()) {
if (isset($p['p_x_base']) && $p['p_x_base']) {
return $p['p_x_base'];
}
elseif (isset($p['x_base'])) {
return $p['x_base'];
}
else {
return '';
}
}
else {
return $this->xBase;
}
}