diff -r 000000000000 -r 4eba9c11703f web/Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php Mon Dec 13 18:29:26 2010 +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; + } +}