You are here

function sms_default_gateway in SMS Framework 5

Same name and namespace in other branches
  1. 6.2 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_number_format in ./sms.module
sms_send in ./sms.module
Sends a message using the active gateway.
sms_send_form in ./sms.module
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
6 string references to 'sms_default_gateway'
sms_admin_default_form in ./sms.module
Form for selecting the default gateway.
sms_admin_default_form_submit in ./sms.module
sms_receive_get_callback in modules/sms_receive/sms_receive.module
sms_receive_parse in modules/sms_receive/sms_receive.module
Hook for gateways to define how incoming messages are parsed
sms_receive_set_callback in modules/sms_receive/sms_receive.module

... See full list

File

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