Service/DeveloperGarden/SmsValidation.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-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
array $_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 value
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')
Details- Type
- array
string $_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
Methods
getValidatedNumbers() : \Zend_Service_DeveloperGarden_Response_SmsValidation_GetValidatedNumbersResponse
returns a list of validated numbers
Returns
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Response_SmsValidation_GetValidatedNumbersResponse |
inValidate(string $number = null) : \Zend_Service_DeveloperGarden_Response_SmsValidation_InvalidateResponse
invalidate the given number
Parameters
Returns
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
Parameters
Returns
Name | Type | Description |
---|---|---|
$number | string | |
$message | string | |
$originator | string | |
$account | integer |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Request_SmsValidation_SendValidationKeywordResponse |
validate(string $keyword = null, string $number = null) : \Zend_Service_DeveloperGarden_Response_SmsValidation_ValidateResponse
validate the given number with the keyword
Parameters
Returns
Name | Type | Description |
---|---|---|
$keyword | string | |
$number | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Response_SmsValidation_ValidateResponse |