You are here

public static function Notifications_Subscription::status_list in Notifications 6.4

Same name and namespace in other branches
  1. 7 notifications.subscription.inc \Notifications_Subscription::status_list()

Status list

5 calls to Notifications_Subscription::status_list()
notifications_destination_manage_subform in includes/destination.inc
Destination manage subform. List/edit subscriptions for destination.
notifications_manage_subscriptions_form in ./notifications.manage.inc
Administer user subscriptions
notifications_subscriptions_filters in ./notifications.manage.inc
List node administration filters that can be applied.
notifications_subscription_base_form in ./notifications.pages.inc
Base subscription form. Present the main fields and check all values
notifications_user_overview in ./notifications.pages.inc
Menu callback. Overview page for user subscriptions.

File

includes/notifications_subscription.class.inc, line 957
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription
Message destination class

Code

public static function status_list() {
  return array(
    self::STATUS_ACTIVE => t('active'),
    self::STATUS_BLOCKED => t('blocked'),
    self::STATUS_INACTIVE => t('inactive'),
    self::STATUS_DISABLED => t('disabled'),
  );
}