function views_handler_field_computing_status::render in Drupal Computing 7
Same name and namespace in other branches
- 7.2 computing.views.inc \views_handler_field_computing_status::render()
Render the field.
Parameters
array $values: The values retrieved from the database.
Overrides views_handler_field::render
File
- ./
computing.views.inc, line 547
Class
Code
function render($values) {
$value = $this
->get_value($values);
$status_code = computing_code('status', TRUE);
return isset($status_code[$value]) ? $status_code[$value] : $value;
}