apm_package_key_from_id (public)

 apm_package_key_from_id package_id

Defined in packages/acs-tcl/tcl/apm-procs.tcl

Parameters:
package_id (required)
Returns:
The package key of the instance.

Partial Call Graph (max 5 caller/called nodes):
%3 acs::test::require_package_instance acs::test::require_package_instance (public) apm_package_key_from_id apm_package_key_from_id acs::test::require_package_instance->apm_package_key_from_id apm_package_instance_delete apm_package_instance_delete (public) apm_package_instance_delete->apm_package_key_from_id callback::subsite::parameter_changed::impl::acs-content-repository callback::subsite::parameter_changed::impl::acs-content-repository (private) callback::subsite::parameter_changed::impl::acs-content-repository->apm_package_key_from_id callback::subsite::parameter_changed::impl::xotcl-core_param_changed callback::subsite::parameter_changed::impl::xotcl-core_param_changed (private) callback::subsite::parameter_changed::impl::xotcl-core_param_changed->apm_package_key_from_id fs::new_folder fs::new_folder (public) fs::new_folder->apm_package_key_from_id db_string db_string (public) apm_package_key_from_id->db_string

Testcases:
No testcase defined.
Source code:
    return [acs::per_thread_cache eval -key acs-tcl.apm_package_key_from_id($package_id) {
        db_string apm_package_key_from_id {
            select package_key from apm_packages where package_id = :package_id
        } -default ""
    }]
Generic 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

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