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 = null
class with credentials
null
Details


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_PRODUCTION
Variable that holds the Zend_Service_DeveloperGarden env value
\Zend_Service_DeveloperGarden_Client_ClientAbstract::ENV_PRODUCTION
Details- Type
- int


\Zend_Soap_Client $_soapClient = null
The internal Soap Client
null
Details- Type
- \Zend_Soap_Client


boolean $_useLocalWsdl = true
should we use the local wsdl file?
true
Details- Type
- boolean
Methods


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


checkEnvironment(int $environment) : void
checks 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) : void
checks 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() : array
returns an array with configured options for this client
Type | Description |
---|---|
array |


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


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


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


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


getSoapClient() : \Zend_Service_DeveloperGarden_Client_Soap
returns 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() : string
returns the wsdl file path, a uri or the local path
Type | Description |
---|---|
string |


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


setLocalWsdl(string $wsdlFile = null) : \Zend_Service_DeveloperGarden_Client_ClientAbstract
sets 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_ClientAbstract
Set 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_ClientAbstract
switch 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_ClientAbstract
sets a new wsdl file
Name | Type | Description |
---|---|---|
$wsdlFile | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_ClientAbstract |