You are here

function biblio_handler_uid::render in Bibliography Module 7.2

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

views/biblio_handler_uid.inc, line 7

Class

biblio_handler_uid
A handler to convert the UID to username.

Code

function render($values) {
  $uid = $this
    ->get_value($values);
  if ($uid) {
    $account = user_load($uid);
    return $account->name;
  }
}