You are here

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

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

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field::render

File

modules/comment/views_handler_field_comment.inc, line 46

Class

views_handler_field_comment
Field handler to allow linking to a comment

Code

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