예제 #1
0
 public function testXmlElementKeyIsInternallyRestricted()
 {
     $this->setExpectedException('Zend_Service_SecondLife_Value_Exception');
     Zend_Service_SecondLife_Value::fromXml('<key>foo</key>');
 }
예제 #2
0
 protected function _parseResponse($response)
 {
     require_once 'Zend/Service/SecondLife/Value.php';
     $value = Zend_Service_SecondLife_Value::fromXml($response)->getValue();
     return $value;
 }