Service/DeveloperGarden/Response/SendSms/SendSmsAbstract.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 [email protected] 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: SendSmsAbstract.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_DeveloperGarden_Response_SendSms_SendSmsAbstract
Package: Zend\Service\DeveloperGarden
- Parent(s)
- \Zend_Service_DeveloperGarden_Response_ResponseAbstract
- Children
- \Zend_Service_DeveloperGarden_Response_SendSms_SendSMSResponse
- \Zend_Service_DeveloperGarden_Response_SendSms_SendFlashSMSResponse
- 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 = null
inherited
errorCode
Inherited from: \Zend_Service_DeveloperGarden_Response_ResponseAbstract::$$errorCode
Default value
nullDetails- Type
- string
- Inherited_from
- \Zend_Service_DeveloperGarden_Response_ResponseAbstract::$$errorCode

string $errorMessage = null
inherited
errorMessage
Inherited from: \Zend_Service_DeveloperGarden_Response_ResponseAbstract::$$errorMessage
Default value
nullDetails- Type
- string
- Inherited_from
- \Zend_Service_DeveloperGarden_Response_ResponseAbstract::$$errorMessage
Methods

isValid() : booleanreturns true if the errorCode is not null and not 0000
Returns
| Type | Description |
|---|---|
| boolean |

parse() : \Zend_Service_DeveloperGarden_Response_ResponseAbstractparse the response data and throws exceptions
Returns
Throws
| Type | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Response_ResponseAbstract |
| Exception | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Response_Exception |