You are here

function views_handler_field_xss::render in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 handlers/views_handler_field.inc \views_handler_field_xss::render()
  2. 7.3 handlers/views_handler_field.inc \views_handler_field_xss::render()

Render the field.

Parameters

$values: The values retrieved from the database.

Overrides views_handler_field::render

File

handlers/views_handler_field.inc, line 850

Class

views_handler_field_xss
A handler to run a field through simple XSS filtering

Code

function render($values) {
  $value = $values->{$this->field_alias};
  return filter_xss($value);
}