interval-procs.tcl

Notification Intervals Utilities.

Location:
packages/notifications/tcl/interval-procs.tcl
Created:
2002-05-24
Author:
Ben Adida
CVS Identification:
$Id: interval-procs.tcl,v 1.5 2017/08/07 23:48:13 gustafn Exp $

Procedures in this file

Detailed information

notification::interval::get_id_from_name (public)

 notification::interval::get_id_from_name -name name

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.
[ hide source ] | [ make this the default ]

Content File Source

ad_library {

    Notification Intervals Utilities.

    @creation-date 2002-05-24
    @author Ben Adida <ben@openforce.biz>
    @cvs-id $Id: interval-procs.tcl,v 1.5 2017/08/07 23:48:13 gustafn Exp $

}

namespace eval notification::interval {

    d_proc -public get_id_from_name {
        -name:required
    } {

        Returns the interval_id for a given interval_name

        @param name The name of interval (weekly, etc)
        @author Don Baccus (dhogaza@pacifier.com)

    } {

        return [db_string get_interval_id {}]

    }

}

# Local variables:
#    mode: tcl
#    tcl-indent-level: 4
#    indent-tabs-mode: nil
# End: