apm_version_id_from_package_key (public)

 apm_version_id_from_package_key [ -all ] package_key

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

Return the id of the (per default enabled) version of the given package_key. If no such version id can be found, returns the empty string.

Switches:
-all (optional, boolean)
when specified, return the enabled or disabled version_ids of the package_key.
Parameters:
package_key (required)
Returns:
the supposedly unique version_id for the enabled package, or a list of all the enabled and disabled versions when -all flag is specified
Author:
Peter Marklund

Testcases:
acs_system_information_api, apm__test_callback_get_set, apm__test_callback_invoke
[ show source ]
Show another procedure: