You are here

notifications_views_handler_field_subscription_interval.inc in Notifications 6

File

notifications_views/notifications_views_handler_field_subscription_interval.inc
View source
<?php

/**
 * Field handler to translate a node type into its readable form.
 */
class notifications_views_handler_field_subscription_interval extends views_handler_field {
  function render($values) {
    $types = _notifications_send_intervals();
    $value = $types[$values->{$this->field_alias}];
    return check_plain($value);
  }

}

Classes

Namesort descending Description
notifications_views_handler_field_subscription_interval Field handler to translate a node type into its readable form.