You are here

function sms_send_log in SMS Framework 6.2

Same name and namespace in other branches
  1. 5 sms.module \sms_send_log()
  2. 6 sms.module \sms_send_log()
  3. 7 sms.module \sms_send_log()

Log sms message.

Parameters

$number: Mobile numbers message sent to.

$message: Message sent.

$options: Associative array of options passed to gateway.

1 string reference to 'sms_send_log'
sms_gateway_info in ./sms.module
Implements hook_gateway_info().

File

./sms.module, line 284
The core of the SMS Framework. Provides gateway managment and API for sending and receiving SMS messages.

Code

function sms_send_log($number, $message, $options) {
  watchdog('sms', 'SMS message sent to %number with the text: @message', array(
    '%number' => $number,
    '@message' => $message,
  ), WATCHDOG_INFO);
  return array(
    'status' => TRUE,
  );
}