You are here

function _notifications_send_intervals in Notifications 6.4

Same name and namespace in other branches
  1. 5 notifications.module \_notifications_send_intervals()
  2. 6 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.

5 calls to _notifications_send_intervals()
notifications_anonymous_admin_settings_form in notifications_anonymous/notifications_anonymous.pages.inc
Admin settings form
Notifications_Queue::process_run in includes/notifications_queue.class.inc
Function to be called on cron by the main notifications_cron
notifications_send_intervals in ./notifications.module
List of send intervals, translated.
notifications_send_intervals_form in ./notifications.admin.inc
Send intervals administration
notifications_settings_form in ./notifications.admin.inc
Admin settings

File

./notifications.module, line 1805
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'),
  ));
}