API Documentation

Service/DeveloperGarden/SendSms.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-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Service  
subpackage
DeveloperGarden  
version
$Id: SendSms.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Service_DeveloperGarden_SendSms

Extends from
\Zend_Service_DeveloperGarden_Client_ClientAbstract
author
Marco Kaiser  
category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Service  
subpackage
DeveloperGarden  

Properties

Propertyprotectedarray  $_classMap= 'array'

Response, Request Classmapping

Default valuearrayDetails
Type
array
Propertyprotectedstring  $_wsdlFile= 'https://gateway.developer.telekom.com/p3gw-mod-odg-sms/services/SmsService?wsdl'

wsdl file

Default valuehttps://gateway.developer.telekom.com/p3gw-mod-odg-sms/services/SmsService?wsdlDetails
Type
string
Propertyprotectedstring  $_wsdlFileLocal= 'Wsdl/SmsService.wsdl'

wsdl file local

Default valueWsdl/SmsService.wsdlDetails
Type
string

Methods

methodpublic__construct( array $options = array ) : void
Parameters
Name Type Description
$options array Associative array of options
methodprotected_buildConstArray( ) : null
static

helper method to create const arrays

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::_buildConstArray()
Returns
Type Description
null
methodpubliccheckEnvironment( int $environment ) : void
static

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
static

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
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
Name Type Description
$number string
$message string
$originator string
$account integer
Returns
Type Description
\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
Name Type Description
$number string
$message string
$originator string
$account integer
Returns
Type Description
\Zend_Service_DeveloperGarden_Request_SendSms_SendSMS
methodpublicgetClientOptions( ) : array

returns an array with configured options for this client

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getClientOptions()
Returns
Type Description
array
methodpublicgetCredential( ) : \Zend_Service_DeveloperGarden_Credential

returns the internal credential object

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

returns the current configured environemnt

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

returns an array of all available environments

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getEnvironments()
Returns
Type Description
array
methodpublicgetOption( string $name ) : mixed

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
static

returns an array of all available environments

Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getParticipantActions()
Returns
Type Description
array
methodpublicgetSoapClient( ) : \Zend_Service_DeveloperGarden_Client_Soap
final

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
 
methodpublicgetWsdl( ) : string

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
Parameters
Name Type Description
$environment int
Returns
Type Description
\Zend_Service_DeveloperGarden_Client_ClientAbstract
methodpublicsetLocalWsdl( string $wsdlFile = null ) : \Zend_Service_DeveloperGarden_Client_ClientAbstract

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

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
Parameters
Name Type Description
$wsdlFile string
Returns
Type Description
\Zend_Service_DeveloperGarden_Client_ClientAbstract
Documentation was generated by DocBlox 0.13.3.