_channelUrl}/{$this->_package}/{$uri}"; return $this->_getClient($url)->request(); } protected function _getClient($url) { $this->_client = new Zend_Http_Client($url); return $this->_client; } public function parse($xml) { try { $xml = simplexml_load_string($xml); } catch (Exception $e) { throw new Exception ('Releases not valid XML! Please check connection.'); } return $xml; } public function getVersion() { return $this->_version; } public function setVersion($version) { $this->_version = $version; return $this; } }