notification::interval::get_id_from_name (public)

 notification::interval::get_id_from_name -name name

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

Returns the interval_id for a given interval_name

Switches:
-name (required)
The name of interval (weekly, etc)
Author:
Don Baccus <dhogaza@pacifier.com>

Partial Call Graph (max 5 caller/called nodes):
%3 faq::apm_callback::enable_intervals_and_methods faq::apm_callback::enable_intervals_and_methods (private) notification::interval::get_id_from_name notification::interval::get_id_from_name faq::apm_callback::enable_intervals_and_methods->notification::interval::get_id_from_name news::install::enable_intervals_and_methods news::install::enable_intervals_and_methods (private) news::install::enable_intervals_and_methods->notification::interval::get_id_from_name notification::new notification::new (public) notification::new->notification::interval::get_id_from_name packages/notifications/www/admin/sweep-now.tcl packages/notifications/ www/admin/sweep-now.tcl packages/notifications/www/admin/sweep-now.tcl->notification::interval::get_id_from_name packages/notifications/www/request-notification.tcl packages/notifications/ www/request-notification.tcl packages/notifications/www/request-notification.tcl->notification::interval::get_id_from_name db_string db_string (public) notification::interval::get_id_from_name->db_string

Testcases:
No testcase defined.
Source code:

        return [db_string get_interval_id {}]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
<fullquery name="notification::interval::get_id_from_name.get_interval_id">
    <querytext>
     select interval_id
     from notification_intervals where name = :name
  </querytext>
</fullquery>
packages/notifications/tcl/interval-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: