Functions

Prepare a phone number for use with the SMS gateway.

cleanup_mobile_number(string $number) : string

Parameters

$number

string

The number

Returns

stringCleaned number

Handle maintenance of SMS numbers (block numbers if they prove unreliable).

sms_callback_script() 

Attempt to send an SMS.

sms_wrap(string $message, array $to_sms) : integer

Parameters

$message

string

The message

$to_sms

array

The member IDs of those receiving messages

Returns

integerHow many were sent