function views_handler_field_file::render in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 modules/system/views_handler_field_file.inc \views_handler_field_file::render()
- 7.3 modules/system/views_handler_field_file.inc \views_handler_field_file::render()
Render the field.
Parameters
$values: The values retrieved from the database.
Overrides views_handler_field::render
File
- modules/
system/ views_handler_field_file.inc, line 49
Class
- views_handler_field_file
- Field handler to provide simple renderer that allows linking to a file.
Code
function render($values) {
return $this
->render_link(check_plain($values->{$this->field_alias}), $values);
}