FreenetIS
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Protected Member Functions | List of all members
Sms_Soudvinv100 Class Reference

SMS driver for Soundwin V100. More...

Inheritance diagram for Sms_Soudvinv100:
Sms

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.
- Public Member Functions inherited from Sms
 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 Public Member Functions inherited from Sms
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.
- Public Attributes inherited from Sms
const DRIVER_CLASS_PREFIX = 'Sms_'
const DRIVER_INACTIVE = 1
const DRIVER_ACTIVE = 2
const SOUNDWINV100 = 2
const KLIKNIAVOLEJ = 3
- Protected Attributes inherited from Sms
 $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$senderSender of message (not used)
string$recipientRecipier of message
string$messageText 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: