notification::get_intervals (public)

 notification::get_intervals [ -localized ] -type_id type_id

Defined in packages/notifications/tcl/notification-procs.tcl

return a list of intervals that are associated with a given notification type (not all intervals are available to all notification types). The fields for each interval is: name, interval_id, n_seconds. If the localized flag is set, then the name of the interval will be localized.

Switches:
-localized (optional, boolean)
-type_id (required)

Partial Call Graph (max 5 caller/called nodes):
test_notification_api_tests notification_api_tests (test notifications) notification::get_intervals notification::get_intervals test_notification_api_tests->notification::get_intervals test_notification_display_tests notification_display_tests (test notifications) test_notification_display_tests->notification::get_intervals db_list_of_lists db_list_of_lists (public) notification::get_intervals->db_list_of_lists lang::util::localize lang::util::localize (public) notification::get_intervals->lang::util::localize packages/forums/www/admin/subscribe-others.tcl packages/forums/ www/admin/subscribe-others.tcl packages/forums/www/admin/subscribe-others.tcl->notification::get_intervals packages/notifications/www/request-change-frequency.tcl packages/notifications/ www/request-change-frequency.tcl packages/notifications/www/request-change-frequency.tcl->notification::get_intervals packages/notifications/www/request-new.tcl packages/notifications/ www/request-new.tcl packages/notifications/www/request-new.tcl->notification::get_intervals packages/notifications/www/request-notification.tcl packages/notifications/ www/request-notification.tcl packages/notifications/www/request-notification.tcl->notification::get_intervals

Testcases:
notification_api_tests, notification_display_tests
[ show source ]
Show another procedure: