Service/DeveloperGarden/SmsValidation.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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service  
Subpackage
DeveloperGarden  
Version
$Id$  

\Zend_Service_DeveloperGarden_SmsValidation

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

Properties

>VPropertyprotectedarray $_classMap = array('getValidatedNumbersResponse' => 'Zend_Service_DeveloperGarden_Response_SmsValidation_GetValidatedNumbersResponse', 'ValidatedNumber' => 'Zend_Service_DeveloperGarden_Response_SmsValidation_ValidatedNumber', 'sendValidationKeywordResponse' => 'Zend_Service_DeveloperGarden_Response_SmsValidation_SendValidationKeywordResponse', 'validateResponse' => 'Zend_Service_DeveloperGarden_Response_SmsValidation_ValidateResponse', 'invalidateResponse' => 'Zend_Service_DeveloperGarden_Response_SmsValidation_InvalidateResponse')
Response, Request Classmapping
Default valuearray('getValidatedNumbersResponse' => 'Zend_Service_DeveloperGarden_Response_SmsValidation_GetValidatedNumbersResponse', 'ValidatedNumber' => 'Zend_Service_DeveloperGarden_Response_SmsValidation_ValidatedNumber', 'sendValidationKeywordResponse' => 'Zend_Service_DeveloperGarden_Response_SmsValidation_SendValidationKeywordResponse', 'validateResponse' => 'Zend_Service_DeveloperGarden_Response_SmsValidation_ValidateResponse', 'invalidateResponse' => 'Zend_Service_DeveloperGarden_Response_SmsValidation_InvalidateResponse')Details
Type
array
>VPropertyprotectedstring $_wsdlFile = 'https://gateway.developer.telekom.com/p3gw-mod-odg-sms-validation/services/SmsValidationUserService?wsdl'
wsdl file
Default value'https://gateway.developer.telekom.com/p3gw-mod-odg-sms-validation/services/SmsValidationUserService?wsdl'Details
Type
string
>VPropertyprotectedstring $_wsdlFileLocal = 'Wsdl/SmsValidationUserService.wsdl'
wsdl file local
Default value'Wsdl/SmsValidationUserService.wsdl'Details
Type
string

Methods

methodpublicinValidate(string $number = null) : \Zend_Service_DeveloperGarden_Response_SmsValidation_InvalidateResponse

invalidate the given number

Parameters
NameTypeDescription
$numberstring
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Response_SmsValidation_InvalidateResponse
methodpublicsendValidationKeyword(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

Parameters
NameTypeDescription
$numberstring
$messagestring
$originatorstring
$accountinteger
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Request_SmsValidation_SendValidationKeywordResponse
methodpublicvalidate(string $keyword = null, string $number = null) : \Zend_Service_DeveloperGarden_Response_SmsValidation_ValidateResponse

validate the given number with the keyword

Parameters
NameTypeDescription
$keywordstring
$numberstring
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Response_SmsValidation_ValidateResponse
Documentation was generated by phpDocumentor 2.2.0 .