You are here

function sms_number_format in SMS Framework 5

File

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

Code

function sms_number_format($number) {
  $gateway = sms_default_gateway();
  if ($gateway['number_formatter'] && function_exists($gateway['number_formatter'])) {
    return $gateway['number_formatter']($number_formatter);
  }
  else {
    return $number;
  }
}