\UbillingSMS
SMS queue handling class
Synopsis
class UbillingSMS
{
- // constants
- const QUEUE_PATH = 'content/tsms/';
- // members
- public bool $smsRoutingFlag = false;
- public $smsDirections = NULL;
- // methods
- public void __construct()
- public string sendSMS()
- public void setDirection()
- public int getQueueCount()
- public array getQueueData()
- public int deleteSms()
Constants
Name | Value |
---|---|
QUEUE_PATH | 'content/tsms/' |
Members
public
- $smsDirections
—
null
Placeholder for $SMSDirections object - $smsRoutingFlag
—
bool
SMS_SERVICES_ADVANCED_ENABLED option state
Methods
public
- __construct() — Creates new UbillingSMS object instance
- deleteSms() — Deletes SMS from local queue
- getQueueCount() — Returns count of SMS available in queue
- getQueueData() — Returns array containing all SMS queue data as index=>data
- sendSMS() — Stores SMS in sending queue
- setDirection() — Sets routing direction to SMS queue file