function views_handler_field_file::render
Same name in other branches
- 6.x-3.x modules/system/views_handler_field_file.inc \views_handler_field_file::render()
Overrides views_handler_field::render
2 methods override views_handler_field_file::render()
- views_handler_field_file_filemime::render in modules/
system/ views_handler_field_file_filemime.inc - Render the field.
- views_handler_field_file_uri::render in modules/
system/ views_handler_field_file_uri.inc - Render the field.
File
-
modules/
system/ views_handler_field_file.inc, line 64
Class
- views_handler_field_file
- Field handler to provide simple renderer that allows linking to a file.
Code
public function render($values) {
$value = $this->get_value($values);
return $this->render_link($this->sanitize_value($value), $values);
}