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)

Partial Call Graph (max 5 caller/called nodes):
%3 test_xowiki_test_cases xowiki_test_cases (test xowiki) notification::type::get_type_id notification::type::get_type_id test_xowiki_test_cases->notification::type::get_type_id notification::type::get_type_id_not_cached notification::type::get_type_id_not_cached (private) notification::type::get_type_id->notification::type::get_type_id_not_cached Class ::xowiki::includelet::my-categories Class ::xowiki::includelet::my-categories (public) Class ::xowiki::includelet::my-categories->notification::type::get_type_id bug_tracker::bug::get_watch_link bug_tracker::bug::get_watch_link (public) bug_tracker::bug::get_watch_link->notification::type::get_type_id calendar::do_notifications calendar::do_notifications (public) calendar::do_notifications->notification::type::get_type_id faq::notification_delivery::do_notification faq::notification_delivery::do_notification (private) faq::notification_delivery::do_notification->notification::type::get_type_id forum::message::notify_moderators forum::message::notify_moderators (private) forum::message::notify_moderators->notification::type::get_type_id

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: