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 license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- DeveloperGarden
- Version
- $Id$
\Zend_Service_DeveloperGarden_Client_ClientAbstract
Package: Zend_Service\DeveloperGarden
- 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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants
Properties
\Zend_Service_DeveloperGarden_Credential $_credential = null
class with credentials
Default value
null
Detailsstring $_serviceAuthId = 'https://odg.t-online.de'
The service id to generate the auth service token
Default value
'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
Default value
\Zend_Service_DeveloperGarden_Client_ClientAbstract::ENV_PRODUCTION
Details- Type
- int
Methods
__construct(array $options = array()) : void
constructor
Parameters
Name | Type | Description |
---|---|---|
$options | array | Associative array of options |
checkEnvironment(int $environment) : void
static
checks if the given environemnt is valid otherwise it @throws Zend_Service_DeveloperGarden_Client_Exception
Parameters
Throws
Name | Type | Description |
---|---|---|
$environment | int |
Exception | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_Exception |
checkParticipantAction(int $action) : void
static
checks if the given action is valid otherwise it @throws Zend_Service_DeveloperGarden_Exception
Parameters
Throws
Name | Type | Description |
---|---|---|
$action | int |
Exception | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_Exception |
getClientOptions() : array
returns an array with configured options for this client
Returns
Type | Description |
---|---|
array |
getCredential() : \Zend_Service_DeveloperGarden_Credential
returns the internal credential object
Returns
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Credential |
getEnvironments() : array
static
returns an array of all available environments
Returns
Type | Description |
---|---|
array |
getOption(string $name) : mixed
get an option value from the internal options object
Parameters
Returns
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
mixed |
getParticipantActions() : array
static
returns an array of all available environments
Returns
Type | Description |
---|---|
array |
getSoapClient() : \Zend_Service_DeveloperGarden_Client_Soap
final
returns the internal soap client if not allready exists we create an instance of Zend_Soap_Client
Returns
Details
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_Soap |
- Final
setEnvironment(int $environment) : \Zend_Service_DeveloperGarden_Client_ClientAbstract
sets new environment
Parameters
Returns
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
Parameters
Returns
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
Parameters
Returns
Throws
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
Parameters
Returns
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
Parameters
Returns
Name | Type | Description |
---|---|---|
$wsdlFile | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_ClientAbstract |