You are here

public static function Notifications_Subscription::status_list in Notifications 7

Same name and namespace in other branches
  1. 6.4 includes/notifications_subscription.class.inc \Notifications_Subscription::status_list()

Status list

5 calls to Notifications_Subscription::status_list()
notifications_account_overview in notifications_account/notifications_account.pages.inc
Menu callback. Overview page for user subscriptions.
notifications_manage_subscriptions_filters in ./notifications.manage.inc
List node administration filters that can be applied.
notifications_manage_subscriptions_form in ./notifications.manage.inc
Administer subscriptions. For user tabs and admin tabs
notifications_subscription_base_form in ./notifications.pages.inc
Base subscription form. Present the main fields and check all values
Notifications_Subscription_Table::subscription_fields in ./notifications.list.inc
Fill in fields for a subscription

File

./notifications.subscription.inc, line 776
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription
Common base for subscription type and subscription instance

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'),
  );
}