function sms_track_sms_receipt in SMS Framework 6
Same name and namespace in other branches
- 6.2 modules/sms_track/sms_track.module \sms_track_sms_receipt()
- 7 modules/sms_track/sms_track.module \sms_track_sms_receipt()
Implement hook_sms_receipt()
Parameters
$op: Operation string
$number: MSISDN
$reference: Reference code of the message
$message_status: Message status code. See sms constants
$options: Additional options array
File
- modules/
sms_track/ sms_track.module, line 177 - Message tracking feature module for Drupal SMS Framework.
Code
function sms_track_sms_receipt($op, $number, $reference, $status, $options) {
if ($op == 'pre process') {
// Tracking
sms_track_update_message($reference, $status);
}
}