You are here

function _notifications_send_intervals in Notifications 6

Same name and namespace in other branches
  1. 5 notifications.module \_notifications_send_intervals()
  2. 6.4 notifications.module \_notifications_send_intervals()
  3. 6.2 notifications.module \_notifications_send_intervals()
  4. 6.3 notifications.module \_notifications_send_intervals()

List of send intervals. These may be overriden in a variable.

17 calls to _notifications_send_intervals()
notifications_add_subscription_form in ./notifications.pages.inc
Form for creating new subscriptions
notifications_admin_queue_summary in ./notifications.admin.inc
Summary of queued notifications
notifications_content_form in notifications_content/notifications_content.pages.inc
Generic subscriptions content form
notifications_form_alter in ./notifications.module
Implementation of hook_form_alter()
notifications_form_subscribe_confirm in ./notifications.pages.inc
Form for subscription confirmation

... See full list

File

./notifications.module, line 1372
Notifications module

Code

function _notifications_send_intervals() {
  return variable_get('notifications_send_intervals', array(
    -1 => t('Never'),
    0 => t('Immediately'),
    3600 => t('Every hour'),
    43200 => t('Twice a day'),
    86400 => t('Daily'),
    604800 => t('Weekly'),
  ));
}