sms_user_handler_field_status.inc in SMS Framework 6.2
Same filename and directory in other branches
Views handler to display the sms number status.
File
modules/sms_user/includes/sms_user_handler_field_status.incView source
<?php
/**
* @file
* Views handler to display the sms number status.
*/
/**
* Field handler to show the sms number status.
*
* @ingroup views_field_handlers
*/
class sms_user_handler_field_status extends views_handler_field {
function render($values) {
$status = $values->{$this->field_alias};
$status_defined = array(
SMS_USER_PENDING => t('Pending'),
SMS_USER_CONFIRMED => t('Confirmed'),
);
return $status_defined[$status];
}
}
Classes
Name![]() |
Description |
---|---|
sms_user_handler_field_status | Field handler to show the sms number status. |