function views_handler_field_xss::render
3.x views_handler_field.inc | views_handler_field_xss::render($values) |
2.x views_handler_field.inc | views_handler_field_xss::render($values) |
Render the field.
Parameters
$values: The values retrieved from the database.
Overrides views_handler_field::render
File
- handlers/
views_handler_field.inc, line 1622 - @todo.
Class
- views_handler_field_xss
- A handler to run a field through simple XSS filtering.
Code
function render($values) {
$value = $this->get_value($values);
return $this->sanitize_value($value, 'xss');
}