function __init() { parent::__init(); if (isset($this->source)) { $this->xpath = new DOMXPath($this->source); } }
function __init() { parent::__init(); $this->ns['sioc'] = 'http://rdfs.org/sioc/ns#'; //make sure sioc is in the available namespace prefixes if (!$this->revProp) { //if not passed a config revProp, fill in default of sioc:links_to $this->revProp = $this->expandPName('sioc:links_to'); } if (isset($this->a['parentURI'])) { $this->revURI = $this->a['parentURI']; } }
function __init() { parent::__init(); $this->xpath = $this->a['xpath']; }
function __init() { parent::__init(); $this->ns['test'] = 'http://example.org/testNS/'; }