notification::get_delivery_method_id (public, deprecated)

 notification::get_delivery_method_id -name name

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

Deprecated. Invoking this procedure generates a warning.

obtain the delivery method ID with the given name. Delivery method 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_delivery_method_id notification::get_delivery_method_id notification::get_delivery_method_id->ad_log_deprecated notification::get_delivery_method_id->db_string

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc notification::get_delivery_method_id
        return [db_string select_delivery_method_id {} -default ""]
Generic XQL file:
<fullquery name="notification::get_delivery_method_id.select_delivery_method_id">
    <querytext>
            select delivery_method_id
            from notification_delivery_methods
            where short_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: