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.

string
$_wsdlFile= 'https://gateway.developer.telekom.com/p3gw-mod-odg-sms-validation/services/SmsValidationUserService?wsdl'
wsdl file
https://gateway.developer.telekom.com/p3gw-mod-odg-sms-validation/services/SmsValidationUserService?wsdl
Details
__construct(
array $options
=
array
)
:
void
constructor
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::__construct()Name | Type | Description |
---|---|---|
$options | array | Associative array of options |

_buildConstArray(
)
:
null
helper method to create const arrays
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::_buildConstArray()Type | Description |
---|---|
null |

checkEnvironment(
int $environment
)
:
void
checks if the given environemnt is valid otherwise it @throws Zend_Service_DeveloperGarden_Client_Exception
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::checkEnvironment()Name | Type | Description |
---|---|---|
$environment | int |
Exception | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_Exception |

checkParticipantAction(
int $action
)
:
void
checks if the given action is valid otherwise it @throws Zend_Service_DeveloperGarden_Exception
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::checkParticipantAction()Name | Type | Description |
---|---|---|
$action | int |
Exception | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_Exception |

getClientOptions(
)
:
array
returns an array with configured options for this client
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getClientOptions()Type | Description |
---|---|
array |

getCredential(
)
:
\Zend_Service_DeveloperGarden_Credential
returns the internal credential object
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getCredential()Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Credential |

getEnvironment(
)
:
int
returns the current configured environemnt
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getEnvironment()Type | Description |
---|---|
int |

getEnvironments(
)
:
array
returns an array of all available environments
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getEnvironments()Type | Description |
---|---|
array |

getOption(
string $name
)
:
mixed
get an option value from the internal options object
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getOption()Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
mixed |

getParticipantActions(
)
:
array
returns an array of all available environments
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getParticipantActions()Type | Description |
---|---|
array |

getSoapClient(
)
:
\Zend_Service_DeveloperGarden_Client_Soap
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()
getValidatedNumbers(
)
:
\Zend_Service_DeveloperGarden_Response_SmsValidation_GetValidatedNumbersResponse
returns a list of validated numbers
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Response_SmsValidation_GetValidatedNumbersResponse |

getWsdl(
)
:
string
returns the wsdl file path, a uri or the local path
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::getWsdl()Type | Description |
---|---|
string |

inValidate(
string $number
=
null
)
:
\Zend_Service_DeveloperGarden_Response_SmsValidation_InvalidateResponse
invalidate the given number
Name | Type | Description |
---|---|---|
$number | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Response_SmsValidation_InvalidateResponse |

sendValidationKeyword(
string $number
=
null, string $message
=
null, string $originator
=
null, integer $account
=
null
)
:
\Zend_Service_DeveloperGarden_Request_SmsValidation_SendValidationKeywordResponse
this function sends the validation sms to the given number, if message is provided it should have to placeholder: #key# = the validation key #validUntil# = the valid until date
Name | Type | Description |
---|---|---|
$number | string | |
$message | string | |
$originator | string | |
$account | integer |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Request_SmsValidation_SendValidationKeywordResponse |

setEnvironment(
int $environment
)
:
\Zend_Service_DeveloperGarden_Client_ClientAbstract
sets new environment
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::setEnvironment()Name | Type | Description |
---|---|---|
$environment | int |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_ClientAbstract |

setLocalWsdl(
string $wsdlFile
=
null
)
:
\Zend_Service_DeveloperGarden_Client_ClientAbstract
sets a new local wsdl file
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::setLocalWsdl()Name | Type | Description |
---|---|---|
$wsdlFile | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_ClientAbstract |

setOption(
string $name, mixed $value
)
:
\Zend_Service_DeveloperGarden_Client_ClientAbstract
Set an option
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::setOption()Name | Type | Description |
---|---|---|
$name | string | |
$value | mixed |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_ClientAbstract |
Exception | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_Exception |

setUseLocalWsdl(
\boolen $use
=
true
)
:
\Zend_Service_DeveloperGarden_Client_ClientAbstract
switch to the local wsdl file usage
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::setUseLocalWsdl()Name | Type | Description |
---|---|---|
$use | \boolen |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_ClientAbstract |

setWsdl(
string $wsdlFile
=
null
)
:
\Zend_Service_DeveloperGarden_Client_ClientAbstract
sets a new wsdl file
Inherited from: \Zend_Service_DeveloperGarden_Client_ClientAbstract::setWsdl()Name | Type | Description |
---|---|---|
$wsdlFile | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_ClientAbstract |

validate(
string $keyword
=
null, string $number
=
null
)
:
\Zend_Service_DeveloperGarden_Response_SmsValidation_ValidateResponse
validate the given number with the keyword
Name | Type | Description |
---|---|---|
$keyword | string | |
$number | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Response_SmsValidation_ValidateResponse |