Service/DeveloperGarden/Client/ClientAbstract.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: 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


\Zend_Service_DeveloperGarden_Credential $_credential = null
null
Details

string $_serviceAuthId = 'https://odg.t-online.de'
'https://odg.t-online.de'
Details- Type
- string


int $_serviceEnvironment = \Zend_Service_DeveloperGarden_Client_ClientAbstract::ENV_PRODUCTION
\Zend_Service_DeveloperGarden_Client_ClientAbstract::ENV_PRODUCTION
Details- Type
- int
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


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 |