Service/DeveloperGarden/BaseUserService.php

Show: inherited
Table of Contents

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: BaseUserService.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Service_DeveloperGarden_BaseUserService

Package: Zend\Service\DeveloperGarden

Parent(s)
\Zend_Service_DeveloperGarden_Client_ClientAbstract
Author
Marco Kaiser  
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

Constant  ENV_PRODUCTION = 1
inherited

constants for using with the odg api

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::ENV_PRODUCTION

Properties

Propertyprotectedarray $_classMap = array('getQuotaInformationResponse' => 'Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse', 'changeQuotaPoolResponse' => 'Zend_Service_DeveloperGarden_Response_BaseUserService_ChangeQuotaPoolResponse', 'getAccountBalanceResponse' => 'Zend_Service_DeveloperGarden_Response_BaseUserService_GetAccountBalanceResponse', 'AccountBalance' => 'Zend_Service_DeveloperGarden_BaseUserService_AccountBalance')

Response, Request Classmapping

Default valuearray('getQuotaInformationResponse' => 'Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse', 'changeQuotaPoolResponse' => 'Zend_Service_DeveloperGarden_Response_BaseUserService_ChangeQuotaPoolResponse', 'getAccountBalanceResponse' => 'Zend_Service_DeveloperGarden_Response_BaseUserService_GetAccountBalanceResponse', 'AccountBalance' => 'Zend_Service_DeveloperGarden_BaseUserService_AccountBalance')Details
Type
array
Propertyprotectedint $_consts = null
staticinherited

array of all possible env types

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_consts
Default valuenullDetails
Type
int
Inherited_from
\Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_consts  
Propertyprotected\Zend_Service_DeveloperGarden_Credential $_credential = null
inherited

class with credentials

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_credential
Propertyprotectedarray $_moduleIds = array('SmsProduction' => 'SmsProduction', 'SmsSandbox' => 'SmsSandbox', 'VoiceCallProduction' => 'VoiceButlerProduction', 'VoiceCallSandbox' => 'VoiceButlerSandbox', 'ConferenceCallProduction' => 'CCSProduction', 'ConferenceCallSandbox' => 'CCSSandbox', 'LocalSearchProduction' => 'localsearchProduction', 'LocalSearchSandbox' => 'localsearchSandbox', 'IPLocationProduction' => 'IPLocationProduction', 'IPLocationSandbox' => 'IPLocationSandbox')

array with all QuotaModuleIds

Default valuearray('SmsProduction' => 'SmsProduction', 'SmsSandbox' => 'SmsSandbox', 'VoiceCallProduction' => 'VoiceButlerProduction', 'VoiceCallSandbox' => 'VoiceButlerSandbox', 'ConferenceCallProduction' => 'CCSProduction', 'ConferenceCallSandbox' => 'CCSSandbox', 'LocalSearchProduction' => 'localsearchProduction', 'LocalSearchSandbox' => 'localsearchSandbox', 'IPLocationProduction' => 'IPLocationProduction', 'IPLocationSandbox' => 'IPLocationSandbox')Details
Type
array
Propertyprotectedarray $_options = array()
inherited

Available options

<p>available options</p>Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_options
Default valuearray()Details
Type
array
Inherited_from
\Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_options  
Propertyprotectedstring $_serviceAuthId = 'https://odg.t-online.de'
inherited

The service id to generate the auth service token

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_serviceAuthId
Default value'https://odg.t-online.de'Details
Type
string
Inherited_from
\Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_serviceAuthId  
Propertyprotectedint $_serviceEnvironment = \Zend_Service_DeveloperGarden_Client_ClientAbstract::ENV_PRODUCTION
inherited

Variable that holds the Zend_Service_DeveloperGarden env value

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_serviceEnvironment
Default value\Zend_Service_DeveloperGarden_Client_ClientAbstract::ENV_PRODUCTIONDetails
Type
int
Inherited_from
\Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_serviceEnvironment  
Propertyprotected\Zend_Soap_Client $_soapClient = null
inherited

The internal Soap Client

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_soapClient
Propertyprotectedboolean $_useLocalWsdl = true
inherited

should we use the local wsdl file?

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_useLocalWsdl
Default valuetrueDetails
Type
boolean
Inherited_from
\Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_useLocalWsdl  
Propertyprotectedstring $_wsdlFile = 'https://gateway.developer.telekom.com/p3gw-mod-odg-admin/services/ODGBaseUserService?wsdl'

wsdl file

Default value'https://gateway.developer.telekom.com/p3gw-mod-odg-admin/services/ODGBaseUserService?wsdl'Details
Type
string
Propertyprotectedstring $_wsdlFileLocal = 'Wsdl/ODGBaseUserService.wsdl'

wsdl file local

Default value'Wsdl/ODGBaseUserService.wsdl'Details
Type
string

Methods

methodpublic__construct(array $options = array()) : void
Parameters
Name Type Description
$options array

Associative array of options

methodprotected_buildConstArray() : null
staticinherited

helper method to create const arrays

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::_buildConstArray()
Returns
Type Description
null
methodprotected_buildModuleString(string $module, integer $environment) : string

returns the correct module string

Parameters
Name Type Description
$module string
$environment integer
Returns
Type Description
string
methodprotected_checkModuleId(string $moduleId) : void

checks the moduleId and throws exception if not valid

Parameters
Name Type Description
$moduleId string
Throws
Exception Description
\Zend_Service_DeveloperGarden_Client_Exception
methodprotected_getChangeRequestModule(string $moduleId, integer $quotaMax) : \Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse

returns the request object with the specific moduleId and new quotaMax value

Parameters
Name Type Description
$moduleId string
$quotaMax integer
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse
methodprotected_getRequestModule(string $moduleId) : \Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse

returns the request object with the specific moduleId

Parameters
Name Type Description
$moduleId string
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse
methodpublicchangeConferenceCallQuotaPool(integer $quotaMax = 0, integer $environment = self::ENV_PRODUCTION) : \Zend_Service_DeveloperGarden_Response_BaseUserService_ChangeQuotaPoolResponse

sets new user quota for the Conference Call service

Parameters
Name Type Description
$quotaMax integer
$environment integer
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_BaseUserService_ChangeQuotaPoolResponse
methodpublicchangeIPLocationQuotaPool(integer $quotaMax = 0, integer $environment = self::ENV_PRODUCTION) : \Zend_Service_DeveloperGarden_Response_BaseUserService_ChangeQuotaPoolResponse

sets new user quota for the IPLocation service

Parameters
Name Type Description
$quotaMax integer
$environment integer
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_BaseUserService_ChangeQuotaPoolResponse
methodpublicchangeLocalSearchQuotaPool(integer $quotaMax = 0, integer $environment = self::ENV_PRODUCTION) : \Zend_Service_DeveloperGarden_Response_BaseUserService_ChangeQuotaPoolResponse

sets new user quota for the Local Search service

Parameters
Name Type Description
$quotaMax integer
$environment integer
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_BaseUserService_ChangeQuotaPoolResponse
methodpublicchangeSmsQuotaPool(integer $quotaMax = 0, integer $environment = self::ENV_PRODUCTION) : \Zend_Service_DeveloperGarden_Response_BaseUserService_ChangeQuotaPoolResponse

sets new user quota for the sms service

Parameters
Name Type Description
$quotaMax integer
$environment integer
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_BaseUserService_ChangeQuotaPoolResponse
methodpublicchangeVoiceCallQuotaPool(integer $quotaMax = 0, integer $environment = self::ENV_PRODUCTION) : \Zend_Service_DeveloperGarden_Response_BaseUserService_ChangeQuotaPoolResponse

sets new user quota for the voice call service

Parameters
Name Type Description
$quotaMax integer
$environment integer
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_BaseUserService_ChangeQuotaPoolResponse
methodpubliccheckEnvironment(int $environment) : void
staticinherited

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

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::checkEnvironment()
Parameters
Name Type Description
$environment int
Throws
Exception Description
\Zend_Service_DeveloperGarden_Client_Exception
methodpubliccheckParticipantAction(int $action) : void
staticinherited

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

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::checkParticipantAction()
Parameters
Name Type Description
$action int
Throws
Exception Description
\Zend_Service_DeveloperGarden_Client_Exception
methodpublicgetAccountBalance(array $accounts = array()) : \Zend_Service_DeveloperGarden_Response_BaseUserService_GetAccountBalanceResponse

get the result for a list of accounts

Parameters
Name Type Description
$accounts array
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_BaseUserService_GetAccountBalanceResponse
methodpublicgetClientOptions() : array
inherited

returns an array with configured options for this client

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getClientOptions()
Returns
Type Description
array
methodpublicgetConfernceCallQuotaInformation(int $environment = self::ENV_PRODUCTION) : \Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse

returns the Quota Information for SMS ConferenceCall

Parameters
Name Type Description
$environment int
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse
methodpublicgetCredential() : \Zend_Service_DeveloperGarden_Credential
inherited

returns the internal credential object

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getCredential()
Returns
Type Description
\Zend_Service_DeveloperGarden_Credential
methodpublicgetEnvironment() : int
inherited

returns the current configured environemnt

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getEnvironment()
Returns
Type Description
int
methodpublicgetEnvironments() : array
staticinherited

returns an array of all available environments

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getEnvironments()
Returns
Type Description
array
methodpublicgetIPLocationQuotaInformation(int $environment = self::ENV_PRODUCTION) : \Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse

returns the Quota Information for IPLocation Service

Parameters
Name Type Description
$environment int
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse
methodpublicgetLocalSearchQuotaInformation(int $environment = self::ENV_PRODUCTION) : \Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse

returns the Quota Information for LocaleSearch Service

Parameters
Name Type Description
$environment int
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse
methodpublicgetModuleIds() : array

returns an array with all possible ModuleIDs

Returns
Type Description
array
methodpublicgetOption(string $name) : mixed
inherited

get an option value from the internal options object

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getOption()
Parameters
Name Type Description
$name string
Returns
Type Description
mixed
methodpublicgetParticipantActions() : array
staticinherited

returns an array of all available environments

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getParticipantActions()
Returns
Type Description
array
methodpublicgetQuotaInformation(\Zend_Service_DeveloperGarden_Request_BaseUserService $request) : \Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse

returns the quota information

Parameters
Name Type Description
$request \Zend_Service_DeveloperGarden_Request_BaseUserService
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse
methodpublicgetSmsQuotaInformation(int $environment = self::ENV_PRODUCTION) : \Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse

returns the Quota Information for SMS Service

Parameters
Name Type Description
$environment int
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse
methodpublicgetSoapClient() : \Zend_Service_DeveloperGarden_Client_Soap
finalinherited

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

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getSoapClient()
Returns
Type Description
\Zend_Service_DeveloperGarden_Client_Soap
Details
Final
 
methodpublicgetVoiceCallQuotaInformation(int $environment = self::ENV_PRODUCTION) : \Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse

returns the Quota Information for VoiceCall Service

Parameters
Name Type Description
$environment int
Returns
Type Description
\Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse
methodpublicgetWsdl() : string
inherited

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

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getWsdl()
Returns
Type Description
string
methodpublicsetEnvironment(int $environment) : \Zend_Service_DeveloperGarden_Client_ClientAbstract
inherited

sets new environment

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::setEnvironment()
Parameters
Name Type Description
$environment int
Returns
Type Description
\Zend_Service_DeveloperGarden_Client_ClientAbstract
methodpublicsetLocalWsdl(string $wsdlFile = null) : \Zend_Service_DeveloperGarden_Client_ClientAbstract
inherited

sets a new local wsdl file

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::setLocalWsdl()
Parameters
Name Type Description
$wsdlFile string
Returns
Type Description
\Zend_Service_DeveloperGarden_Client_ClientAbstract
methodpublicsetOption(string $name, mixed $value) : \Zend_Service_DeveloperGarden_Client_ClientAbstract
Parameters
Name Type Description
$name string
$value mixed
Returns
Type Description
\Zend_Service_DeveloperGarden_Client_ClientAbstract
Throws
Exception Description
\Zend_Service_DeveloperGarden_Client_Exception
methodpublicsetUseLocalWsdl(\boolen $use = true) : \Zend_Service_DeveloperGarden_Client_ClientAbstract
inherited

switch to the local wsdl file usage

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::setUseLocalWsdl()
Parameters
Name Type Description
$use \boolen
Returns
Type Description
\Zend_Service_DeveloperGarden_Client_ClientAbstract
methodpublicsetWsdl(string $wsdlFile = null) : \Zend_Service_DeveloperGarden_Client_ClientAbstract
inherited

sets a new wsdl file

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::setWsdl()
Parameters
Name Type Description
$wsdlFile string
Returns
Type Description
\Zend_Service_DeveloperGarden_Client_ClientAbstract
Documentation was generated by phpDocumentor 2.0.0a8.