You are here

function views_handler_field_user::render in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 modules/user/views_handler_field_user.inc \views_handler_field_user::render()
  2. 7.3 modules/user/views_handler_field_user.inc \views_handler_field_user::render()

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field::render

2 methods override views_handler_field_user::render()
views_handler_field_user_language::render in modules/user/views_handler_field_user_language.inc
Render the field.
views_handler_field_user_mail::render in modules/user/views_handler_field_user_mail.inc
Render the field.

File

modules/user/views_handler_field_user.inc, line 44

Class

views_handler_field_user
Field handler to provide simple renderer that allows linking to a user.

Code

function render($values) {
  return $this
    ->render_link(check_plain($values->{$this->field_alias}), $values);
}