You are here

views_handler_field_amazon_xss.inc in Amazon Product Advertisement API 7

Same filename and directory in other branches
  1. 7.2 includes/views_handler_field_amazon_xss.inc

File

includes/views_handler_field_amazon_xss.inc
View source
<?php

/**
 * @defgroup views_field_handlers Views' field handlers
 * @{
 * Handlers to tell Views how to build and display fields.
 *
 */

/**
 * A handler to run a field through simple XSS filtering
 */
class views_handler_field_amazon_xss extends views_handler_field {
  function render($values) {
    $value = $this
      ->get_value($values);
    return filter_xss_admin($value);
  }

}

/**
 * @}
 */

Classes

Namesort descending Description
views_handler_field_amazon_xss A handler to run a field through simple XSS filtering