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.
ENV_PRODUCTION = '1'
constants for using with the odg api
ENV_SANDBOX = '2'
ENV_MOCK = '3'
PARTICIPANT_MUTE_OFF = '0'
PARTICIPANT_MUTE_ON = '1'
PARTICIPANT_RECALL = '2'
array $_classMap = 'array'
array with options for classmapping
int $_consts = 'null'
array of all possible env types
Zend_Service_DeveloperGarden_Credential $_credential = 'null'
class with credentials
array $_options = 'array'
Available options
string $_serviceAuthId = 'https://odg.t-online.de'
The service id to generate the auth service token
int $_serviceEnvironment = 'Zend_Service_DeveloperGarden_Client_ClientAbstract'
Variable that holds the Zend_Service_DeveloperGarden env value
Zend_Soap_Client $_soapClient = 'null'
The internal Soap Client
boolean $_useLocalWsdl = 'true'
should we use the local wsdl file?
string $_wsdlFile = 'null'
wsdl file
string $_wsdlFileLocal = 'null'
the local wsdlFile
__construct(
array $options
=
array
)
:
constructor
_buildConstArray(
)
:
null
helper method to create const arrays
checkEnvironment(
int $environment
)
:
void
checks if the given environemnt is valid otherwise it @throws Zend_Service_DeveloperGarden_Client_Exception
checkParticipantAction(
int $action
)
:
void
checks if the given action is valid otherwise it @throws Zend_Service_DeveloperGarden_Exception
getClientOptions(
)
:
array
returns an array with configured options for this client
getCredential(
)
:
Zend_Service_DeveloperGarden_Credential
returns the internal credential object
getEnvironment(
)
:
int
returns the current configured environemnt
getEnvironments(
)
:
array
returns an array of all available environments
getOption(
string $name
)
:
mixed
get an option value from the internal options object
getParticipantActions(
)
:
array
returns an array of all available environments
getSoapClient(
)
:
Zend_Service_DeveloperGarden_Client_Soap
returns the internal soap client if not allready exists we create an instance of Zend_Soap_Client
getWsdl(
)
:
string
returns the wsdl file path, a uri or the local path
setEnvironment(
int $environment
)
:
Zend_Service_DeveloperGarden_Client_ClientAbstract
sets new environment
setLocalWsdl(
string $wsdlFile
=
null
)
:
Zend_Service_DeveloperGarden_Client_ClientAbstract
sets a new local wsdl file
setOption(
string $name, mixed $value
)
:
Zend_Service_DeveloperGarden_Client_ClientAbstract
Set an option
setUseLocalWsdl(
boolen $use
=
true
)
:
Zend_Service_DeveloperGarden_Client_ClientAbstract
switch to the local wsdl file usage
setWsdl(
string $wsdlFile
=
null
)
:
Zend_Service_DeveloperGarden_Client_ClientAbstract
sets a new wsdl file