Service/DeveloperGarden/SendSms.php

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

\Zend_Service_DeveloperGarden_SendSms

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

>VConstant  ENV_PRODUCTION = 1
inherited
constants for using with the odg api
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::ENV_PRODUCTION

Properties

>VPropertyprotectedarray $_classMap = array('sendSMSResponse' => 'Zend_Service_DeveloperGarden_Response_SendSms_SendSMSResponse', 'sendFlashSMSResponse' => 'Zend_Service_DeveloperGarden_Response_SendSms_SendFlashSMSResponse')
Response, Request Classmapping
Default valuearray('sendSMSResponse' => 'Zend_Service_DeveloperGarden_Response_SendSms_SendSMSResponse', 'sendFlashSMSResponse' => 'Zend_Service_DeveloperGarden_Response_SendSms_SendFlashSMSResponse')Details
Type
array
>VPropertyprotectedint $_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  
>VPropertyprotected\Zend_Service_DeveloperGarden_Credential $_credential = null
inherited
class with credentials
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_credential
>VPropertyprotectedarray $_options = array()
inherited
Available options
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_options
Default valuearray()Details
Type
array
Inherited_from
\Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_options  
>VPropertyprotectedstring $_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  
>VPropertyprotectedint $_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  
>VPropertyprotected\Zend_Soap_Client $_soapClient = null
inherited
The internal Soap Client
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::$$_soapClient
>VPropertyprotectedboolean $_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  
>VPropertyprotectedstring $_wsdlFile = 'https://gateway.developer.telekom.com/p3gw-mod-odg-sms/services/SmsService?wsdl'
wsdl file
Default value'https://gateway.developer.telekom.com/p3gw-mod-odg-sms/services/SmsService?wsdl'Details
Type
string
>VPropertyprotectedstring $_wsdlFileLocal = 'Wsdl/SmsService.wsdl'
wsdl file local
Default value'Wsdl/SmsService.wsdl'Details
Type
string

Methods

methodpublic__construct(array $options = array()) : void
Parameters
NameTypeDescription
$optionsarray

Associative array of options

methodprotected_buildConstArray() : null
staticinherited

helper method to create const arrays

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::_buildConstArray()
Returns
TypeDescription
null
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
NameTypeDescription
$environmentint
Throws
ExceptionDescription
\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
NameTypeDescription
$actionint
Throws
ExceptionDescription
\Zend_Service_DeveloperGarden_Client_Exception
methodpubliccreateFlashSms(string $number = null, string $message = null, string $originator = null, integer $account = null) : \Zend_Service_DeveloperGarden_Request_SendSms_SendFlashSMS

this function creates the raw sms object that can be used to send an sms or as flash sms

Parameters
NameTypeDescription
$numberstring
$messagestring
$originatorstring
$accountinteger
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Request_SendSms_SendFlashSMS
methodpubliccreateSms(string $number = null, string $message = null, string $originator = null, integer $account = null) : \Zend_Service_DeveloperGarden_Request_SendSms_SendSMS

this function creates the raw sms object that can be used to send an sms or as flash sms

Parameters
NameTypeDescription
$numberstring
$messagestring
$originatorstring
$accountinteger
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Request_SendSms_SendSMS
methodpublicgetClientOptions() : array
inherited

returns an array with configured options for this client

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getClientOptions()
Returns
TypeDescription
array
methodpublicgetCredential() : \Zend_Service_DeveloperGarden_Credential
inherited

returns the internal credential object

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getCredential()
methodpublicgetEnvironment() : int
inherited

returns the current configured environemnt

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

returns an array of all available environments

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getEnvironments()
Returns
TypeDescription
array
methodpublicgetOption(string $name) : mixed
inherited

get an option value from the internal options object

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getOption()
Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
mixed
methodpublicgetParticipantActions() : array
staticinherited

returns an array of all available environments

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getParticipantActions()
Returns
TypeDescription
array
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
TypeDescription
\Zend_Service_DeveloperGarden_Client_Soap
Details
Final
 
methodpublicgetWsdl() : string
inherited

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

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getWsdl()
Returns
TypeDescription
string
methodpublicsetEnvironment(int $environment) : \Zend_Service_DeveloperGarden_Client_ClientAbstract
Parameters
NameTypeDescription
$environmentint
Returns
TypeDescription
\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
NameTypeDescription
$wsdlFilestring
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Client_ClientAbstract
methodpublicsetOption(string $name, mixed $value) : \Zend_Service_DeveloperGarden_Client_ClientAbstract
Parameters
NameTypeDescription
$namestring
$valuemixed
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Client_ClientAbstract
Throws
ExceptionDescription
\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
NameTypeDescription
$use\boolen
Returns
TypeDescription
\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
NameTypeDescription
$wsdlFilestring
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Client_ClientAbstract
Documentation was generated by phpDocumentor 2.0.0a12.