apm_load_one_parameter element_idWhat it does:
Loads the values of one parameter into an nsv variableDefined in: /web/philip/packages/acs-core/apm-procs.tcl
Source code:
db_1row "select module_key, parameter_key, default_value from ad_parameter_elements where element_id = $element_id" ns_mutex lock [nsv_get $module_key lock] nsv_set $module_key $parameter_key [list] db_foreach "select value from ad_parameter_values where element_id = $element_id" { nsv_append $module_key $parameter_key $value } else { nsv_append $module_key_$parameter_key $default_value } db_release_unused_handles ns_mutex unlock [nsv_get $module_key lock]