You are here

function views_handler_field_amazon_xss::render in Amazon Product Advertisement API 7

Same name and namespace in other branches
  1. 7.2 includes/views_handler_field_amazon_xss.inc \views_handler_field_amazon_xss::render()

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

includes/views_handler_field_amazon_xss.inc, line 14

Class

views_handler_field_amazon_xss
A handler to run a field through simple XSS filtering

Code

function render($values) {
  $value = $this
    ->get_value($values);
  return filter_xss_admin($value);
}