Service/DeveloperGarden/Client/ClientAbstract.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: ClientAbstract.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_DeveloperGarden_Client_ClientAbstract
- Children
- \Zend_Service_DeveloperGarden_LocalSearch
- \Zend_Service_DeveloperGarden_SendSms
- \Zend_Service_DeveloperGarden_VoiceCall
- \Zend_Service_DeveloperGarden_SecurityTokenServer
- \Zend_Service_DeveloperGarden_SmsValidation
- \Zend_Service_DeveloperGarden_ConferenceCall
- \Zend_Service_DeveloperGarden_IpLocation
- \Zend_Service_DeveloperGarden_BaseUserService
- Author
- Marco Kaiser
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants
Properties

array $_classMap = array()array with options for classmapping
array()Details- Type
- array

\Zend_Service_DeveloperGarden_Credential $_credential = nullclass with credentials
nullDetails

array $_options = array()Available options
<p>available options</p>array()Details- Type
- array

string $_serviceAuthId = 'https://odg.t-online.de'The service id to generate the auth service token
'https://odg.t-online.de'Details- Type
- string

int $_serviceEnvironment = \Zend_Service_DeveloperGarden_Client_ClientAbstract::ENV_PRODUCTIONVariable that holds the Zend_Service_DeveloperGarden env value
\Zend_Service_DeveloperGarden_Client_ClientAbstract::ENV_PRODUCTIONDetails- Type
- int

\Zend_Soap_Client $_soapClient = nullThe internal Soap Client
nullDetails- Type
- \Zend_Soap_Client

boolean $_useLocalWsdl = trueshould we use the local wsdl file?
trueDetails- Type
- boolean
Methods

__construct(array $options = array()) : voidconstructor
| Name | Type | Description |
|---|---|---|
| $options | array | Associative array of options |

checkEnvironment(int $environment) : voidchecks if the given environemnt is valid otherwise it @throws Zend_Service_DeveloperGarden_Client_Exception
| Name | Type | Description |
|---|---|---|
| $environment | int |
| Exception | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Client_Exception |

checkParticipantAction(int $action) : voidchecks if the given action is valid otherwise it @throws Zend_Service_DeveloperGarden_Exception
| Name | Type | Description |
|---|---|---|
| $action | int |
| Exception | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Client_Exception |

getClientOptions() : arrayreturns an array with configured options for this client
| Type | Description |
|---|---|
| array |

getCredential() : \Zend_Service_DeveloperGarden_Credentialreturns the internal credential object
| Type | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Credential |

getEnvironments() : arrayreturns an array of all available environments
| Type | Description |
|---|---|
| array |

getOption(string $name) : mixedget an option value from the internal options object
| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| mixed |

getParticipantActions() : arrayreturns an array of all available environments
| Type | Description |
|---|---|
| array |

getSoapClient() : \Zend_Service_DeveloperGarden_Client_Soapreturns the internal soap client if not allready exists we create an instance of Zend_Soap_Client
| Type | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Client_Soap |
- Final

getWsdl() : stringreturns the wsdl file path, a uri or the local path
| Type | Description |
|---|---|
| string |

setEnvironment(int $environment) : \Zend_Service_DeveloperGarden_Client_ClientAbstractsets new environment
| Name | Type | Description |
|---|---|---|
| $environment | int |
| Type | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Client_ClientAbstract |

setLocalWsdl(string $wsdlFile = null) : \Zend_Service_DeveloperGarden_Client_ClientAbstractsets a new local wsdl file
| Name | Type | Description |
|---|---|---|
| $wsdlFile | string |
| Type | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Client_ClientAbstract |

setOption(string $name, mixed $value) : \Zend_Service_DeveloperGarden_Client_ClientAbstractSet an option
| Name | Type | Description |
|---|---|---|
| $name | string | |
| $value | mixed |
| Type | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Client_ClientAbstract |
| Exception | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Client_Exception |

setUseLocalWsdl(\boolen $use = true) : \Zend_Service_DeveloperGarden_Client_ClientAbstractswitch to the local wsdl file usage
| Name | Type | Description |
|---|---|---|
| $use | \boolen |
| Type | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Client_ClientAbstract |

setWsdl(string $wsdlFile = null) : \Zend_Service_DeveloperGarden_Client_ClientAbstractsets a new wsdl file
| Name | Type | Description |
|---|---|---|
| $wsdlFile | string |
| Type | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Client_ClientAbstract |