You are here

messaging_simple_handler_field_body.inc in Messaging 7

Same filename and directory in other branches
  1. 6.4 messaging_simple/views/messaging_simple_handler_field_body.inc

File

messaging_simple/views/messaging_simple_handler_field_body.inc
View source
<?php

/**
 * Field handler
 */
class messaging_simple_handler_field_body extends views_handler_field {
  function render($values) {
    $method_info = messaging_method_info('simple');
    $value = $values->{$this->field_alias};

    // The filter is applied now only once.
    if ($method_info['filter']) {
      return check_markup($value, $filter, FALSE);
    }
    return check_plain($value);
  }

}

Classes

Namesort descending Description
messaging_simple_handler_field_body Field handler