You are here

function sms_txtlocal_message_status_codes in SMS Framework 6

Returns an array of message status codes and strings that are generated by the txtlocal gateway

Return value

array Associative array of message status codes and text strings.

1 call to sms_txtlocal_message_status_codes()
sms_txtlocal_receive_receipt in modules/sms_txtlocal/sms_txtlocal.module
Receive a message send receipt from txtlocal
1 string reference to 'sms_txtlocal_message_status_codes'
sms_txtlocal_gateway_info in modules/sms_txtlocal/sms_txtlocal.module
Implement hook_gateway_info()

File

modules/sms_txtlocal/sms_txtlocal.module, line 438
Txtlocal gateway module for Drupal SMS Framework. Outbound+Inbound

Code

function sms_txtlocal_message_status_codes() {
  return array(
    'D' => 'Delivered',
    'I' => 'Invalid',
    'U' => 'Undelivered after 72 hours',
  );
}