notification::type::get_type_id (public)

 notification::type::get_type_id -short_name short_name

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

return the notification type ID given a short name. Short names are unique but not primary keys.

Switches:
-short_name (required)

Testcases:
xowiki_test_cases
Source code:
        return [acs::per_thread_cache eval -key notifications.get_type_id($short_name) {
            notification::type::get_type_id_not_cached $short_name
        }]
Generic XQL file:
packages/notifications/tcl/notification-type-procs.xql

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

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

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