diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,75 @@ +getProperties() as $p) { + $name = $p->getName(); + if (strpos($name, 'Response') !== false) { + return $p->getValue($this); + } + } + return null; + } + + /** + * parse the response data and throws exceptions + * + * @throws Zend_Service_DeveloperGarden_Response_Exception + * @return mixed + */ + public function parse() + { + $retVal = $this->getResponse(); + if ($retVal === null) { + $this->statusCode = 9999; + $this->statusMessage = 'Internal response property not found.'; + } else { + $this->statusCode = $retVal->getStatusCode(); + $this->statusMessage = $retVal->getStatusMessage(); + } + parent::parse(); + return $retVal; + } +}