You are here

function clients_views_handler_field::render in Web Service Clients 7

Same name and namespace in other branches
  1. 6 clients/clients_views/handlers/clients_views_handler_field.inc \clients_views_handler_field::render()

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field::render

File

clients/clients_views/handlers/clients_views_handler_field.inc, line 25

Class

clients_views_handler_field
@todo Is this handler doing anything useful or can it be removed??

Code

function render($values) {

  // TODO properly set field_alias all the time.
  if (isset($values[$this->real_field])) {
    $value = $values[$this->real_field];
  }
  else {
    $value = $values[$this->field_alias];
  }
  return check_plain($value);
}