function sms_format_number in SMS Framework 6
Same name and namespace in other branches
- 6.2 sms.module \sms_format_number()
- 7 sms.module \sms_format_number()
Formats a number for display.
@todo What is this function for?
File
- ./
sms.module, line 358 - The core of the SMS Framework. Provides gateway managment and API for sending and receiving SMS messages.
Code
function sms_format_number(&$number, $options = array()) {
$gateway = sms_default_gateway();
if ($gateway['format number'] && function_exists($gateway['format number'])) {
return $gateway['format number']($number, $options);
}
else {
return $number;
}
}