You are here

function sms_send_log in SMS Framework 6

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

Log-only gateway send function.

1 string reference to 'sms_send_log'
sms_gateway_info in ./sms.module
Implementation of hook_gateway_info() for Log-only gateway.

File

./sms.module, line 150
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,
  );
}