Service/DeveloperGarden/Response/VoiceButler/CallStatus2Response.php
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: CallStatus2Response.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatus2Response
- Parent(s)
- \Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse < \Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract < \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 = null
null
Details

string $errorMessage = null
null
Details

\stdClass $return = null
null
DetailsMethods


getBIndex() : integer
Index of the phone number of the second participant (B), who was called.
The value 0 means the first B party phone number which was called, 1 means the second B party phone number which was called etc.
Type | Description |
---|---|
integer |


getBNumber() : string
returns the phone number of the second participant, who was called.
Type | Description |
---|---|
string |


getBNumberIndex() : integer
Index of the phone number of the second participant (B), who was called.
The value 0 means the first B party phone number which was called, 1 means the second B party phone number which was called etc.
Type | Description |
---|---|
integer |


getBe164() : string
returns the phone number of the second participant, who was called.
Type | Description |
---|---|
string |


getConnectionTimeA() : integer
returns the connection time for participant a
Inherited from: \Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse::getConnectionTimeA()Type | Description |
---|---|
integer |


getConnectionTimeB() : integer
returns the connection time for participant b
Inherited from: \Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse::getConnectionTimeB()Type | Description |
---|---|
integer |


getDescriptionA() : string
returns the description time for participant a
Inherited from: \Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse::getDescriptionA()Type | Description |
---|---|
string |


getDescriptionB() : string
returns the description time for participant b
Inherited from: \Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse::getDescriptionB()Type | Description |
---|---|
string |


getErrorCode() : string | null
returns the error code
Inherited from: \Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract::getErrorCode()\Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse::getErrorCode()Type | Description |
---|---|
string | null |


getErrorMessage() : string
returns the error message
Inherited from: \Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract::getErrorMessage()\Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse::getErrorMessage()Type | Description |
---|---|
string |


getReasonA() : integer
returns the reason time for participant a
Inherited from: \Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse::getReasonA()Type | Description |
---|---|
integer |


getReasonB() : integer
returns the reason time for participant b
Inherited from: \Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse::getReasonB()Type | Description |
---|---|
integer |


getReturn() : \stdClass
returns the return object
Inherited from: \Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract::getReturn()\Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse::getReturn()Type | Description |
---|---|
\stdClass |


getSessionId() : string
returns the session id
Inherited from: \Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse::getSessionId()Type | Description |
---|---|
string |


getStateA() : string
returns the state time for participant a
Inherited from: \Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse::getStateA()Type | Description |
---|---|
string |


getStateB() : string
returns the state time for participant b
Inherited from: \Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse::getStateB()Type | Description |
---|---|
string |


hasError() : boolean
returns true if we have a error situation
Inherited from: \Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract::hasError()\Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse::hasError()Type | Description |
---|---|
boolean |


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


parse() : \Zend_Service_DeveloperGarden_Response_ResponseAbstract
parse the response data and throws exceptions
Inherited from: \Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract::parse()\Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse::parse()Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Response_ResponseAbstract |
Exception | Description |
---|---|
\Zend_Service_DeveloperGarden_Response_Exception |