apm_package_id_from_key (public)
apm_package_id_from_key package_key
Defined in packages/acs-tcl/tcl/apm-procs.tcl
- Parameters:
- package_key (required)
- Returns:
- The package id of the instance of the package. 0 if no instance exists, error if several instances exist.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- locale__test_system_package_setting, acs_mail_lite_inbound_procs_check, parameter_register_test, parameter__check_procs, acs_object_procs_test, logout_from_everywhere
Source code: set var ::apm::package_id_from_key($package_key) if {[info exists $var]} {return [set $var]} set result [util_memoize [list apm_package_id_from_key_not_cached $package_key]] #set result [ns_cache_eval ns:memoize apm_package_id_from_key_$package_key [list apm_package_id_from_key_not_cached $package_key]] if {$result != 0} { set $var $result } return $resultGeneric XQL file: packages/acs-tcl/tcl/apm-procs.xql
PostgreSQL XQL file: packages/acs-tcl/tcl/apm-procs-postgresql.xql
Oracle XQL file: packages/acs-tcl/tcl/apm-procs-oracle.xql