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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- DeveloperGarden
- Version
- $Id: SendSmsAbstract.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
- 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-2012 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
153
Details- Type
- integer


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


integer $environment = null
environment value
Inherited from: \Zend_Service_DeveloperGarden_Request_RequestAbstract::$$environmentnull
Details- Type
- integer
- Inherited_from
- \Zend_Service_DeveloperGarden_Request_RequestAbstract::$$environment


string $number = null
the number or numbers to receive this sms
null
Details- Type
- string
Methods


__construct(integer $environment) : \Zend_Service_DeveloperGarden_Request_RequestAbstract
constructor give them the environment
Inherited from: \Zend_Service_DeveloperGarden_Request_RequestAbstract::__construct()Name | Type | Description |
---|---|---|
$environment | integer |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Request_RequestAbstract |


getEnvironment() : integer
the current configured environment value
Inherited from: \Zend_Service_DeveloperGarden_Request_RequestAbstract::getEnvironment()Type | Description |
---|---|
integer |


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


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


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


setEnvironment(integer $environment) : \Zend_Service_DeveloperGarden_Request_RequestAbstract
sets a new moduleId
Inherited from: \Zend_Service_DeveloperGarden_Request_RequestAbstract::setEnvironment()Name | Type | Description |
---|---|---|
$environment | integer |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Request_RequestAbstract |


setMessage(string $message) : \Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
sets a new message
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)
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
Name | Type | Description |
---|---|---|
$originator | string |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract |