API Documentation

Service/DeveloperGarden/Request/SendSms/SendSmsAbstract.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
DeveloperGarden
version
$Id: SendSmsAbstract.php 20419 2010-01-19 13:20:12Z bate $
Classes
Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract

Description

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.

Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract

Extends from
Zend_Service_DeveloperGarden_Request_RequestAbstract
author
Marco Kaiser
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
DeveloperGarden
Properties
$number
$message
$originator
$account
$_specialChars
$_smsType
$_smsLength
$_maxLength
$_maxNumbers
Methods
getNumber
setNumber
getMessage
setMessage
getOriginator
setOriginator
getAccount
setAccount
getMessageLength
getMessageCount
getNumberCount
getSmsType

Description

Properties

$_maxLength

integer $_maxLength = '765'

maximum length of an sms message

Details

$_maxLength
integer
visibility
protected
default
765
final
false
static
false

$_maxNumbers

integer $_maxNumbers = '10'

the maximum numbers to send an sms

Details

$_maxNumbers
integer
visibility
protected
default
10
final
false
static
false

$_smsLength

integer $_smsLength = '153'

the counter for increasing message count if more than this 160 chars we send a 2nd or counting sms message

Details

$_smsLength
integer
visibility
protected
default
153
final
false
static
false

$_smsType

integer $_smsType = '1'

what SMS type is it

1 = SMS 2 = FlashSMS

Details

$_smsType
integer
visibility
protected
default
1
final
false
static
false

$_specialChars

array $_specialChars = 'array'

array of special chars that are used for counting message length

Details

$_specialChars
array
visibility
private
default
array
final
false
static
false

$account

integer $account = 'null'

account

Details

$account
integer
visibility
public
default
null
final
false
static
false

$message

string $message = 'null'

the message of this sms

Details

$message
string
visibility
public
default
null
final
false
static
false

$number

string $number = 'null'

the number or numbers to receive this sms

Details

$number
string
visibility
public
default
null
final
false
static
false

$originator

string $originator = 'null'

name of the sender

Details

$originator
string
visibility
public
default
null
final
false
static
false

Methods

getAccount

getAccount( ) : integer

the account

Output
integer
$account
Details
visibility
public
final
false
static
false

getMessage

getMessage( ) : string

returns the current message

Output
string
$message
Details
visibility
public
final
false
static
false

getMessageCount

getMessageCount( ) : integer

returns the count of sms messages that would be send

Output
integer
Details
visibility
public
final
false
static
false

getMessageLength

getMessageLength( ) : integer

returns the calculated message length

Output
integer
Details
visibility
public
final
false
static
false

getNumber

getNumber( ) : string

returns the assigned numbers

Output
string
$number
Details
visibility
public
final
false
static
false

getNumberCount

getNumberCount( ) : integer

returns the count of numbers in this sms

Output
integer
Details
visibility
public
final
false
static
false

getOriginator

getOriginator( ) : the

returns the originator

Output
the
$originator
Details
visibility
public
final
false
static
false

getSmsType

getSmsType( ) : integer

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

Output
integer
Details
visibility
public
final
false
static
false

setAccount

setAccount( $account $account ) : Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract

sets a new accounts

Arguments
$account
$account
the $account to set
Details
visibility
public
final
false
static
false

setMessage

setMessage( string $message ) : Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract

sets a new message

Arguments
$message
string
Details
visibility
public
final
false
static
false
throws

setNumber

setNumber( string $number ) : Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract

set a new number(s)

Arguments
$number
string
Details
visibility
public
final
false
static
false
throws

setOriginator

setOriginator( string $originator ) : Zend_Service_DeveloperGarden_Request_SendSms_SendSmsAbstract

the originator name

Arguments
$originator
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.