You are here

function sms_default_gateway in SMS Framework 6

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

Returns the current default gateway.

4 calls to sms_default_gateway()
sms_format_number in ./sms.module
Formats a number for display.
sms_send in ./sms.module
Sends a message using the active gateway.
sms_send_form in ./sms.module
Send form. Generates a SMS sending form and adds gateway defined elements. The form array that is returned can be merged with an existing form using array_merge().
sms_validate_number in ./sms.module
Validate a phone number.
2 string references to 'sms_default_gateway'
sms_admin_default_form in ./sms.admin.inc
@file SMS Framework core module: Admin settings form functions
sms_admin_default_form_submit in ./sms.admin.inc

File

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

Code

function sms_default_gateway() {
  return sms_gateways('gateway', variable_get('sms_default_gateway', 'log'));
}