You are here

function sms_send_form_submit in SMS Framework 7

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

Form submission handler for sms_send_form().

See also

sms_send_form()

sms_send_form_validate()

1 string reference to 'sms_send_form_submit'
sms_devel_send_form in modules/sms_devel/sms_devel.send_form.inc
Form constructor for sms_devel test send form.

File

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

Code

function sms_send_form_submit($form, &$form_state) {
  $number = sms_formatter($form_state['values']['number']);
  sms_send($number, $form_state['values']['message'], isset($form_state['values']['gateway']) ? $form_state['values']['gateway'] : array());
}