function views_handler_field_comment_username::render

3.x views_handler_field_comment_username.inc views_handler_field_comment_username::render($values)
2.x views_handler_field_comment_username.inc views_handler_field_comment_username::render($values)

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field::render

File

modules/comment/views_handler_field_comment_username.inc, line 54
Definition of views_handler_field_comment_username.

Class

views_handler_field_comment_username
Field handler to allow linking to a user account or homepage.

Code

function render($values) {
  $value = $this->get_value($values);
  return $this->render_link($this->sanitize_value($value), $values);
}