function views_handler_field_user_link::render in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 6.2 modules/user/views_handler_field_user_link.inc \views_handler_field_user_link::render()
- 7.3 modules/user/views_handler_field_user_link.inc \views_handler_field_user_link::render()
Render the field.
Parameters
$values: The values retrieved from the database.
Overrides views_handler_field::render
File
- modules/
user/ views_handler_field_user_link.inc, line 38
Class
- views_handler_field_user_link
- Field handler to present a link to the user.
Code
function render($values) {
$value = $this
->get_value($values, 'uid');
return $this
->render_link($this
->sanitize_value($value), $values);
}