SMS driver for Soundwin V100.
More...
Public Member Functions |
| test_conn () |
| Test if connection to server is OK.
|
| get_received_messages () |
| Gets recieved messages after receive.
|
| send ($sender, $recipient, $message) |
| Try to send SMS messages.
|
| receive () |
| Try to receive SMS messages.
|
| get_error () |
| Gets error report.
|
| get_status () |
| Gets state of message.
|
| set_hostname ($hostname) |
| Sets hostname of gate.
|
| set_user ($user) |
| Sets user to gate.
|
| set_password ($password) |
| Sets password to gate.
|
| set_test ($test) |
| Sets test (no SMS are sended, just states are made).
|
Protected Member Functions |
| __construct () |
| Construct cannot be called from outside.
|
Additional Inherited Members |
static | factory ($driver) |
| Factory for SMS drivers.
|
static | get_driver_name ($driver, $with_help=FALSE) |
| Gets name of driver.
|
static | get_drivers () |
| Gets drivers array.
|
static | get_active_drivers () |
| Gets list of active drivers for selectboxes.
|
static | has_active_driver () |
| Check if there are any active drivers.
|
static | enabled () |
| Checks if SMS are enabled on server.
|
const | DRIVER_CLASS_PREFIX = 'Sms_' |
const | DRIVER_INACTIVE = 1 |
const | DRIVER_ACTIVE = 2 |
const | SOUNDWINV100 = 2 |
const | KLIKNIAVOLEJ = 3 |
| $hostname |
| $user |
| $password |
Detailed Description
SMS driver for Soundwin V100.
- Author
- Roman Sevcik, Ondrej Fibich
Member Function Documentation
Sms_Soudvinv100::get_error |
( |
| ) |
|
Gets error report.
- Returns
- mixed Error report or FALSE on no error
Reimplemented from Sms.
Sms_Soudvinv100::get_received_messages |
( |
| ) |
|
Gets recieved messages after receive.
- Returns
- array
Reimplemented from Sms.
Sms_Soudvinv100::get_status |
( |
| ) |
|
Gets state of message.
- Returns
- mixed State or FALSE on no error
Reimplemented from Sms.
Sms_Soudvinv100::receive |
( |
| ) |
|
|
final |
Try to receive SMS messages.
- Returns
- boolean FALSE on error TRUE on success
Reimplemented from Sms.
Sms_Soudvinv100::send |
( |
|
$sender, |
|
|
|
$recipient, |
|
|
|
$message |
|
) |
| |
Try to send SMS messages.
- Parameters
-
string | $sender | Sender of message (not used) |
string | $recipient | Recipier of message |
string | $message | Text of message |
- Returns
- boolean FALSE on error TRUE on success
Reimplemented from Sms.
Sms_Soudvinv100::test_conn |
( |
| ) |
|
Test if connection to server is OK.
- Returns
- bool
Reimplemented from Sms.
The documentation for this class was generated from the following file: