You are here

function views_handler_field_userpoints_txn_status in User Points 5.3

1 string reference to 'views_handler_field_userpoints_txn_status'
userpoints_views_views_tables in ./userpoints_views.module
Implementation of hook_views_tables(): Present fields and filters for user data.

File

./userpoints_views.module, line 446

Code

function views_handler_field_userpoints_txn_status($fieldinfo, $fielddata, $value, $data) {
  static $stati;
  if (!isset($stati)) {
    $stati = userpoints_txn_status();
  }
  return $stati[$value];
}