• Publicity: Public Only All

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>

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: