Example #1
0
 /**
  * Class constructor; initialise the object with a Service node from the
  * XRDS document, and the current Zend_Service_Yadis_Xrds_Namespace
  * object to provide the current namespaces for using XPath queries.
  *
  * @param   SimpleXMLElement $serviceNode
  * @param   Zend_Service_Yadis_Xrds_Namespace $namespace
  */
 public function __construct(SimpleXMLElement $serviceNode, Zend_Service_Yadis_Xrds_Namespace $namespace)
 {
     $this->_serviceNode = $serviceNode;
     $this->_namespace = $namespace;
     $this->_namespace->registerXpathNamespaces($this->_serviceNode);
 }