notification::get_interval_id (public, deprecated)

 notification::get_interval_id -name name

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

Deprecated. Invoking this procedure generates a warning.

obtain the interval ID for an interval with the given name. Interval names are unique, but are not the primary key. DEPRECATED: an API doing the exact same thing was moved into an own namespace

Switches:
-name (required)
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) db_string db_string (public) notification::get_interval_id notification::get_interval_id notification::get_interval_id->ad_log_deprecated notification::get_interval_id->db_string

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc notification::get_interval_id
        return [db_string select_interval_id {} -default ""]
Generic XQL file:
<fullquery name="notification::get_interval_id.select_interval_id">
    <querytext>
            select interval_id
            from notification_intervals
            where name = :name
        </querytext>
</fullquery>
packages/notifications/tcl/notification-procs.xql

PostgreSQL XQL file:
packages/notifications/tcl/notification-procs-postgresql.xql

Oracle XQL file:
packages/notifications/tcl/notification-procs-oracle.xql

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