Service/DeveloperGarden/Request/SendSms/SendSmsAbstract.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_Request_SendSms_SendSmsAbstract
Package: Zend_Service\DeveloperGarden







- Parent(s)
- \Zend_Service_DeveloperGarden_Request_RequestAbstract
- Children
- \Zend_Service_DeveloperGarden_Request_SendSms_SendFlashSMS
- \Zend_Service_DeveloperGarden_Request_SendSms_SendSMS
- \Zend_Service_DeveloperGarden_Request_SmsValidation_SendValidationKeyword
- Author
- Marco Kaiser
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties


integer $_smsLength = 153
the counter for increasing message count
if more than this 160 chars we send a 2nd or counting
sms message
Default value
153
Details- Type
- integer


array $_specialChars = array('|', '^', '{', '}', '[', ']', '~', '\\', "\n")
array of special chars that are used for counting
message length
Default value
array('|', '^', '{', '}', '[', ']', '~', '\\', "\n")
Details- Type
- array
Methods


getMessageCount() : integer
returns the count of sms messages that would be send
Returns
Type | Description |
---|---|
integer |


getSmsType() : integer
returns the sms type currently we have 1 = Sms 2 = FlashSms
Returns
Type | Description |
---|---|
integer |


setAccount(int $account) : \Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
sets a new accounts
Parameters
Returns
Name | Type | Description |
---|---|---|
$account | int | the $account to set |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract |


setMessage(string $message) : \Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
sets a new message
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$message | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract |
Exception | Description |
---|---|
\Zend_Service_DeveloperGarden_Request_Exception |


setNumber(string $number) : \Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
set a new number(s)
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$number | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract |
Exception | Description |
---|---|
\Zend_Service_DeveloperGarden_Request_Exception |


setOriginator(string $originator) : \Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
the originator name
Parameters
Returns
Name | Type | Description |
---|---|---|
$originator | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract |