Service/DeveloperGarden/Request/SendSms/SendSmsAbstract.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_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

>VPropertyprotectedinteger $_maxLength = 765
maximum length of an sms message
Default value765Details
Type
integer
>VPropertyprotectedinteger $_maxNumbers = 10
the maximum numbers to send an sms
Default value10Details
Type
integer
>VPropertyprotectedinteger $_smsLength = 153
the counter for increasing message count if more than this 160 chars we send a 2nd or counting sms message
Default value153Details
Type
integer
>VPropertyprotectedinteger $_smsType = 1
what SMS type is it
1 = SMS 2 = FlashSMS
Default value1Details
Type
integer
>VPropertyprivatearray $_specialChars = array('|', '^', '{', '}', '[', ']', '~', '\\', "\n")
array of special chars that are used for counting message length
Default valuearray('|', '^', '{', '}', '[', ']', '~', '\\', "\n")Details
Type
array
>VPropertypublicinteger $account = null
account
Default valuenullDetails
Type
integer
>VPropertypublicstring $message = null
the message of this sms
Default valuenullDetails
Type
string
>VPropertypublicstring $number = null
the number or numbers to receive this sms
Default valuenullDetails
Type
string
>VPropertypublicstring $originator = null
name of the sender
Default valuenullDetails
Type
string

Methods

methodpublicgetAccount() : integer

the account

Returns
TypeDescription
integer$account
methodpublicgetMessage() : string

returns the current message

Returns
TypeDescription
string$message
methodpublicgetMessageCount() : integer

returns the count of sms messages that would be send

Returns
TypeDescription
integer
methodpublicgetMessageLength() : integer

returns the calculated message length

Returns
TypeDescription
integer
methodpublicgetNumber() : string

returns the assigned numbers

Returns
TypeDescription
string$number
methodpublicgetNumberCount() : integer

returns the count of numbers in this sms

Returns
TypeDescription
integer
methodpublicgetOriginator() : \the

returns the originator

Returns
TypeDescription
\the$originator
methodpublicgetSmsType() : integer

returns the sms type currently we have 1 = Sms 2 = FlashSms

Returns
TypeDescription
integer
methodpublicsetAccount(int $account) : \Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract

sets a new accounts

Parameters
NameTypeDescription
$accountint

the $account to set

Returns
TypeDescription
\Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
methodpublicsetMessage(string $message) : \Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract

sets a new message

Parameters
NameTypeDescription
$messagestring
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
Throws
ExceptionDescription
\Zend_Service_DeveloperGarden_Request_Exception
methodpublicsetNumber(string $number) : \Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract

set a new number(s)

Parameters
NameTypeDescription
$numberstring
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
Throws
ExceptionDescription
\Zend_Service_DeveloperGarden_Request_Exception
methodpublicsetOriginator(string $originator) : \Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract

the originator name

Parameters
NameTypeDescription
$originatorstring
Returns
TypeDescription
\Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
Documentation was generated by phpDocumentor 2.2.0 .