errorCode = $response->getErrorCode(); $this->errorMessage = $response->getErrorMessage(); $this->statusCode = $response->getStatusCode(); $this->statusMessage = $response->getStatusMessage(); $this->searchResult = $response; } /** * returns the raw search result * * @return Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseType */ public function getSearchResult() { return $this->searchResult; } /** * overwrite hasError to not handle 0103 error (empty result) * * @return boolean */ public function hasError() { $result = parent::hasError(); if (!$result && $this->statusCode == '0103') { $result = false; } return $result; } }