You are here

class notifications_views_handler_field_subscription_type in Notifications 6.4

Same name and namespace in other branches
  1. 6 notifications_views/notifications_views_handler_field_subscription_type.inc \notifications_views_handler_field_subscription_type
  2. 6.2 notifications_views/notifications_views_handler_field_subscription_type.inc \notifications_views_handler_field_subscription_type
  3. 6.3 notifications_views/notifications_views_handler_field_subscription_type.inc \notifications_views_handler_field_subscription_type
  4. 7 notifications_views/includes/notifications_views_handler_field_subscription_type.inc \notifications_views_handler_field_subscription_type

Field handler to translate a node type into its readable form.

Hierarchy

Expanded class hierarchy of notifications_views_handler_field_subscription_type

File

notifications_views/notifications_views_handler_field_subscription_type.inc, line 5

View source
class notifications_views_handler_field_subscription_type extends views_handler_field {
  function render($values) {
    $types = notifications_subscription_types();
    $value = $types[$values->{$this->field_alias}]['title'];
    return check_plain($value);
  }

}

Members