You are here

function notifications_subscriptions_filters in Notifications 6

Same name and namespace in other branches
  1. 6.4 notifications.manage.inc \notifications_subscriptions_filters()
  2. 6.2 notifications.manage.inc \notifications_subscriptions_filters()
  3. 6.3 notifications.manage.inc \notifications_subscriptions_filters()

List node administration filters that can be applied.

3 calls to notifications_subscriptions_filters()
notifications_subscriptions_build_filter_query in ./notifications.manage.inc
Build query for node administration filters based on session.
notifications_subscriptions_filter_form in ./notifications.manage.inc
Return form for node administration filters.
notifications_subscriptions_filter_form_submit in ./notifications.manage.inc
Process result from node administration filter form.

File

./notifications.manage.inc, line 216
Common functions for bulk management of subscriptions

Code

function notifications_subscriptions_filters() {

  // Regular filters
  $filters['status'] = array(
    'title' => t('status'),
    'options' => _notifications_subscription_status(),
  );
  $filters['type'] = array(
    'title' => t('type'),
    'options' => notifications_subscription_types(NULL, 'title'),
  );
  $filters['send_method'] = array(
    'title' => t('method'),
    'options' => messaging_method_info(NULL, 'title'),
  );
  $filters['send_interval'] = array(
    'title' => t('interval'),
    'options' => _notifications_send_intervals(),
  );
  return $filters;
}