Service/DeveloperGarden/Response/LocalSearch/LocalSearchResponse.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- DeveloperGarden
- Version
- $Id: LocalSearchResponse.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponse
Package: Zend\Service\DeveloperGarden













- Parent(s)
- \Zend_Service_DeveloperGarden_Response_BaseType < \Zend_Service_DeveloperGarden_Response_ResponseAbstract
- Author
- Marco Kaiser
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

string $errorCode = nullinherited
errorCode
Inherited from:
\Zend_Service_DeveloperGarden_Response_ResponseAbstract::$$errorCode\Zend_Service_DeveloperGarden_Response_BaseType::$$errorCodeDefault value
nullDetails- Type
- string
- Inherited_from
- \Zend_Service_DeveloperGarden_Response_ResponseAbstract::$$errorCode
- Inherited_from
- \Zend_Service_DeveloperGarden_Response_BaseType::$$errorCode

string $errorMessage = nullinherited
errorMessage
Inherited from:
\Zend_Service_DeveloperGarden_Response_ResponseAbstract::$$errorMessage\Zend_Service_DeveloperGarden_Response_BaseType::$$errorMessageDefault value
nullDetails- Type
- string
- Inherited_from
- \Zend_Service_DeveloperGarden_Response_ResponseAbstract::$$errorMessage
- Inherited_from
- \Zend_Service_DeveloperGarden_Response_BaseType::$$errorMessage

\Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseType $searchResult = nullDefault value
nullDetails
string $statusCode = nullinherited
the status code
Inherited from:
\Zend_Service_DeveloperGarden_Response_BaseType::$$statusCodeDefault value
nullDetails- Type
- string
- Inherited_from
- \Zend_Service_DeveloperGarden_Response_BaseType::$$statusCode

string $statusMessage = nullinherited
the status message
Inherited from:
\Zend_Service_DeveloperGarden_Response_BaseType::$$statusMessageDefault value
nullDetails- Type
- string
- Inherited_from
- \Zend_Service_DeveloperGarden_Response_BaseType::$$statusMessage
Methods

__construct(\Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseType $response) : voidconstructor
Parameters
Details
| Name | Type | Description |
|---|---|---|
| $response | \Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseType |
- Todo
- implement special result methods

getErrorCode() : string | nullinherited
returns the error code (statusCode)
Inherited from: \Zend_Service_DeveloperGarden_Response_BaseType::getErrorCode()Returns
| Type | Description |
|---|---|
| string | null |

getErrorMessage() : stringinherited
returns the error message
Inherited from: \Zend_Service_DeveloperGarden_Response_BaseType::getErrorMessage()Returns
| Type | Description |
|---|---|
| string |

getSearchResult() : \Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseTypereturns the raw search result
Returns
| Type | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseType |

getStatusCode() : string | nullinherited
returns the error code
Inherited from: \Zend_Service_DeveloperGarden_Response_BaseType::getStatusCode()Returns
| Type | Description |
|---|---|
| string | null |

getStatusMessage() : stringinherited
returns the error message
Inherited from: \Zend_Service_DeveloperGarden_Response_BaseType::getStatusMessage()Returns
| Type | Description |
|---|---|
| string |

hasError() : booleanoverwrite hasError to not handle 0103 error (empty result)
Returns
| Type | Description |
|---|---|
| boolean |

isValid() : booleaninherited
returns true if the errorCode is not null and not 0000
Inherited from: \Zend_Service_DeveloperGarden_Response_BaseType::isValid()Returns
| Type | Description |
|---|---|
| boolean |

parse() : \Zend_Service_DeveloperGarden_Response_ResponseAbstractReturns
Throws
| Type | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Response_ResponseAbstract |
| Exception | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Response_Exception |