Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

SMSProvider Class Reference
[Simple Message Service]

Inheritance diagram for SMSProvider:

EmailSMSProvider List of all members.

Detailed Description

Send SMS's to a provider.

Definition at line 128 of file sms.inc.php.

Public Member Functions

 __construct ($name)
 instantiate our class
 prepNumber ($number)
 prepare the number for sending
 send ($message, $from)
 send the sms message

Static Public Member Functions

 formatNumber ($number)
 correctly format a 10 digit number

Public Attributes

 $name
 the name of the provider.
 $number
 the 10 digit number


Member Function Documentation

SMSProvider::__construct name  ) 
 

instantiate our class

Parameters:
$name the name of the provider

Definition at line 145 of file sms.inc.php.

SMSProvider::formatNumber number  )  [static]
 

correctly format a 10 digit number

Parameters:
$number the number string to format.
Returns:
the properly formatted number

Definition at line 156 of file sms.inc.php.

SMSProvider::prepNumber number  ) 
 

prepare the number for sending

Parameters:
$number the number to prepare.

Definition at line 166 of file sms.inc.php.

SMSProvider::send message,
from
[abstract]
 

send the sms message

Parameters:
$message the message to send (<160 chars)
$from the email to send it from.

Reimplemented in EmailSMSProvider.


Member Data Documentation

SMSProvider::$name
 

the name of the provider.

Definition at line 133 of file sms.inc.php.

SMSProvider::$number
 

the 10 digit number

Definition at line 138 of file sms.inc.php.


The documentation for this class was generated from the following file:
Generated on Fri Oct 27 12:26:42 2006 for BaseJumper by doxygen 1.3.9.1