You are here

function sms_default_gateway in SMS Framework 6.2

Same name and namespace in other branches
  1. 5 sms.module \sms_default_gateway()
  2. 6 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
Form builder for send sms form.
sms_validate_number in ./sms.module
Validates a phone number. Passes number to active gateway for further validation if neccessary.
2 string references to 'sms_default_gateway'
sms_admin_default_form in ./sms.admin.inc
Select default sms gateway form.
sms_admin_default_form_submit in ./sms.admin.inc
Form submission handler for sms_admin_default_form().

File

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