예제 #1
0
 /**
  * Return the value of a specific namespace.
  *
  * @return string|boolean
  */
 public function getNamespace($namespace)
 {
     return $this->_namespace->getNamespace($namespace);
 }
예제 #2
0
 public function testAddNamespace()
 {
     $name = new Services_Yadis_Xrds_Namespace();
     $name->addNamespace('test', 'http://example.com/test');
     $this->assertEquals('http://example.com/test', $name->getNamespace('test'));
 }