You are here

function _subscriptions_send_intervals in Subscriptions 6

Same name and namespace in other branches
  1. 5.2 subscriptions.admin.inc \_subscriptions_send_intervals()
  2. 7 subscriptions.admin.inc \_subscriptions_send_intervals()
  3. 2.0.x subscriptions.admin.old.php \_subscriptions_send_intervals()

Returns a list of send intervals.

6 calls to _subscriptions_send_intervals()
subscriptions_add_form in ./subscriptions.admin.inc
Provide the form definition for adding subscriptions via subscriptions/add/... link.
subscriptions_content_type_form in ./subscriptions_content.module
Build the Content Types subscriptions form at user/UID/subscriptions/type.
subscriptions_form_helper in ./subscriptions.admin.inc
Helper function for the submodules to build the table(s) on their user/UID/subscriptions/... pages.
subscriptions_intervals in ./subscriptions.admin.inc
Provide the form definition for admin/settings/subscriptions/intervals.
subscriptions_update_6101 in ./subscriptions.install
Database update function 6101: Add the {subscriptions_last_sent} table.

... See full list

File

./subscriptions.admin.inc, line 933
Subscriptions module (load-on-demand admin functions).

Code

function _subscriptions_send_intervals() {
  return variable_get('subscriptions_send_intervals', array(
    1 => t('As soon as possible'),
    900 => t('Every 15 minutes'),
    3600 => t('Hourly'),
    10800 => t('Every three hours'),
    86400 => t('Daily'),
  ));
}