API Documentation

Zend/Service/DeveloperGarden/Request/SendSms/SendSmsAbstract.php

Show: inherited
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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service  
Subpackage
DeveloperGarden  
Version
$Id: SendSmsAbstract.php 24594 2012-01-05 21:27:01Z matthew $  

\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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedinteger  $_maxLength= '765'

maximum length of an sms message

Default value765Details
Type
integer
Propertyprotectedinteger  $_maxNumbers= '10'

the maximum numbers to send an sms

Default value10Details
Type
integer
Propertyprotectedinteger  $_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
Propertyprotectedinteger  $_smsType= '1'

what SMS type is it

1 = SMS 2 = FlashSMS

Default value1Details
Type
integer
Propertyprivatearray  $_specialChars= 'array( '|''

array of special chars that are used for counting message length

Default valuearray( '|'Details
Type
array
Propertypublicinteger  $account= 'null'

account

Default valuenullDetails
Type
integer
Propertypublicstring  $message= 'null'

the message of this sms

Default valuenullDetails
Type
string
Propertypublicstring  $number= 'null'

the number or numbers to receive this sms

Default valuenullDetails
Type
string
Propertypublicstring  $originator= 'null'

name of the sender

Default valuenullDetails
Type
string

Methods

methodpublicgetAccount( ) : integer

the account

Returns
Type Description
integer $account
methodpublicgetMessage( ) : string

returns the current message

Returns
Type Description
string $message
methodpublicgetMessageCount( ) : integer

returns the count of sms messages that would be send

Returns
Type Description
integer
methodpublicgetMessageLength( ) : integer

returns the calculated message length

Returns
Type Description
integer
methodpublicgetNumber( ) : string

returns the assigned numbers

Returns
Type Description
string $number
methodpublicgetNumberCount( ) : integer

returns the count of numbers in this sms

Returns
Type Description
integer
methodpublicgetOriginator( ) : \the

returns the originator

Returns
Type Description
\the $originator
methodpublicgetSmsType( ) : integer

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

Returns
Type Description
integer
methodpublicsetAccount( int $account ) : \Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract

sets a new accounts

Parameters
Name Type Description
$account int

the $account to set

Returns
Type Description
\Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
methodpublicsetMessage( string $message ) : \Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract

sets a new message

Parameters
Name Type Description
$message string
Returns
Type Description
\Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
Throws
Exception Description
\Zend_Service_DeveloperGarden_Request_Exception
methodpublicsetNumber( string $number ) : \Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract

set a new number(s)

Parameters
Name Type Description
$number string
Returns
Type Description
\Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
Throws
Exception Description
\Zend_Service_DeveloperGarden_Request_Exception
methodpublicsetOriginator( string $originator ) : \Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract

the originator name

Parameters
Name Type Description
$originator string
Returns
Type Description
\Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract
Documentation was generated by DocBlox 0.15.1.