API Documentation

Service/DeveloperGarden/Client/ClientAbstract.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
DeveloperGarden
version
$Id: ClientAbstract.php 20419 2010-01-19 13:20:12Z bate $
Classes
Zend_Service_DeveloperGarden_Client_ClientAbstract

Description

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.

Zend_Service_DeveloperGarden_Client_ClientAbstract

author
Marco Kaiser
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
DeveloperGarden
Constants
ENV_PRODUCTION
ENV_SANDBOX
ENV_MOCK
PARTICIPANT_MUTE_OFF
PARTICIPANT_MUTE_ON
PARTICIPANT_RECALL
Properties
$_consts
$_options
$_serviceAuthId
$_serviceEnvironment
$_wsdlFile
$_wsdlFileLocal
$_useLocalWsdl
$_credential
$_soapClient
$_classMap
Methods
__construct
setOption
getOption
getSoapClient
setEnvironment
getEnvironment
getWsdl
setUseLocalWsdl
setWsdl
setLocalWsdl
getClientOptions
getCredential
_buildConstArray
getParticipantActions
checkParticipantAction
getEnvironments
checkEnvironment

Description

Constants

ENV_PRODUCTION

 ENV_PRODUCTION = '1'

constants for using with the odg api

Details

value
1

ENV_SANDBOX

 ENV_SANDBOX = '2'

Details

value
2

ENV_MOCK

 ENV_MOCK = '3'

Details

value
3

PARTICIPANT_MUTE_OFF

 PARTICIPANT_MUTE_OFF = '0'

Details

value
0

PARTICIPANT_MUTE_ON

 PARTICIPANT_MUTE_ON = '1'

Details

value
1

PARTICIPANT_RECALL

 PARTICIPANT_RECALL = '2'

Details

value
2

Properties

$_classMap

array $_classMap = 'array'

array with options for classmapping

Details

$_classMap
array
visibility
protected
default
array
final
false
static
false

$_consts

int $_consts = 'null'

array of all possible env types

Details

$_consts
int
visibility
protected
default
null
final
false
static
true

$_credential

Zend_Service_DeveloperGarden_Credential $_credential = 'null'

class with credentials

Details

$_credential
Zend_Service_DeveloperGarden_Credential
visibility
protected
default
null
final
false
static
false

$_options

array $_options = 'array'

Available options

Details

$_options
array
available options
visibility
protected
default
array
final
false
static
false

$_serviceAuthId

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

The service id to generate the auth service token

Details

$_serviceAuthId
string
visibility
protected
default
https://odg.t-online.de
final
false
static
false

$_serviceEnvironment

int $_serviceEnvironment = 'Zend_Service_DeveloperGarden_Client_ClientAbstract'

Variable that holds the Zend_Service_DeveloperGarden env value

Details

$_serviceEnvironment
int
visibility
protected
default
Zend_Service_DeveloperGarden_Client_ClientAbstract
final
false
static
false

$_soapClient

Zend_Soap_Client $_soapClient = 'null'

The internal Soap Client

Details

$_soapClient
Zend_Soap_Client
visibility
protected
default
null
final
false
static
false

$_useLocalWsdl

boolean $_useLocalWsdl = 'true'

should we use the local wsdl file?

Details

$_useLocalWsdl
boolean
visibility
protected
default
true
final
false
static
false

$_wsdlFile

string $_wsdlFile = 'null'

wsdl file

Details

$_wsdlFile
string
visibility
protected
default
null
final
false
static
false

$_wsdlFileLocal

string $_wsdlFileLocal = 'null'

the local wsdlFile

Details

$_wsdlFileLocal
string
visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct( array $options = array ) :

constructor

Arguments
$options
array
Associative array of options
Details
visibility
public
final
false
static
false

_buildConstArray

_buildConstArray( ) : null

helper method to create const arrays

Output
null
Details
visibility
protected
final
false
static
true

checkEnvironment

checkEnvironment( int $environment ) : void

checks if the given environemnt is valid otherwise it @throws Zend_Service_DeveloperGarden_Client_Exception

Arguments
$environment
int
Details
visibility
public
final
false
static
true
throws

checkParticipantAction

checkParticipantAction( int $action ) : void

checks if the given action is valid otherwise it @throws Zend_Service_DeveloperGarden_Exception

Arguments
$action
int
Details
visibility
public
final
false
static
true
throws

getClientOptions

getClientOptions( ) : array

returns an array with configured options for this client

Output
array
Details
visibility
public
final
false
static
false

getCredential

getCredential( ) : Zend_Service_DeveloperGarden_Credential

returns the internal credential object

Details
visibility
public
final
false
static
false

getEnvironment

getEnvironment( ) : int

returns the current configured environemnt

Output
int
Details
visibility
public
final
false
static
false

getEnvironments

getEnvironments( ) : array

returns an array of all available environments

Output
array
Details
visibility
public
final
false
static
true

getOption

getOption( string $name ) : mixed

get an option value from the internal options object

Arguments
$name
string
Output
mixed
Details
visibility
public
final
false
static
false

getParticipantActions

getParticipantActions( ) : array

returns an array of all available environments

Output
array
Details
visibility
public
final
false
static
true

getSoapClient

getSoapClient( ) : Zend_Service_DeveloperGarden_Client_Soap

returns the internal soap client if not allready exists we create an instance of Zend_Soap_Client

Details
visibility
public
final
true
static
false
final

getWsdl

getWsdl( ) : string

returns the wsdl file path, a uri or the local path

Output
string
Details
visibility
public
final
false
static
false

setEnvironment

setEnvironment( int $environment ) : Zend_Service_DeveloperGarden_Client_ClientAbstract

sets new environment

Arguments
$environment
int
Details
visibility
public
final
false
static
false

setLocalWsdl

setLocalWsdl( string $wsdlFile = null ) : Zend_Service_DeveloperGarden_Client_ClientAbstract

sets a new local wsdl file

Arguments
$wsdlFile
string
Details
visibility
public
final
false
static
false

setOption

setOption( string $name, mixed $value ) : Zend_Service_DeveloperGarden_Client_ClientAbstract

Set an option

Arguments
$name
string
$value
mixed
Details
visibility
public
final
false
static
false
throws

setUseLocalWsdl

setUseLocalWsdl( boolen $use = true ) : Zend_Service_DeveloperGarden_Client_ClientAbstract

switch to the local wsdl file usage

Arguments
$use
boolen
Details
visibility
public
final
false
static
false

setWsdl

setWsdl( string $wsdlFile = null ) : Zend_Service_DeveloperGarden_Client_ClientAbstract

sets a new wsdl file

Arguments
$wsdlFile
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.