You are here

site_disclaimer_handler_field_tou_version.inc in Site Disclaimer 7

Same filename and directory in other branches
  1. 6 views/handlers/site_disclaimer_handler_field_tou_version.inc

Views field handler for Site Disclaimer module.

File

views/handlers/site_disclaimer_handler_field_tou_version.inc
View source
<?php

/**
 * @file
 * Views field handler for Site Disclaimer module.
 */

/**
 * Field handler to site_disclaimer version.
 */
class site_disclaimer_handler_field_tou_version extends views_handler_field_prerender_list {
  function render($values) {
    $data = unserialize($values->{$this->field_alias});
    $tou_version = $data['site_disclaimer'];
    return check_plain($tou_version);
  }

}

Classes

Namesort descending Description
site_disclaimer_handler_field_tou_version Field handler to site_disclaimer version.