public function views_handler_field_xss::render in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 handlers/views_handler_field.inc \views_handler_field_xss::render()
- 6.2 handlers/views_handler_field.inc \views_handler_field_xss::render()
Render the field.
Parameters
array $values: The values retrieved from the database.
Overrides views_handler_field::render
File
- handlers/
views_handler_field.inc, line 1744 - Definition of views_handler_field.
Class
- views_handler_field_xss
- A handler to run a field through simple XSS filtering.
Code
public function render($values) {
$value = $this
->get_value($values);
return $this
->sanitize_value($value, 'xss');
}