parameter::set_from_package_key (public)

 parameter::set_from_package_key -package_key package_key \
    -parameter parameter -value value

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

sets an instance parameter for the package corresponding to package_key. Note that this makes the assumption that the package is a singleton and does not set the value for all packages corresponding to package_key. New packages should use global parameters instead.

Switches:
-package_key (required)
-parameter (required)
-value (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_parameter__check_procs parameter__check_procs (test acs-tcl) parameter::set_from_package_key parameter::set_from_package_key test_parameter__check_procs->parameter::set_from_package_key apm_package_id_from_key apm_package_id_from_key (public) parameter::set_from_package_key->apm_package_id_from_key parameter::set_value parameter::set_value (public) parameter::set_from_package_key->parameter::set_value packages/xml-rpc/www/admin/toggle.tcl packages/xml-rpc/ www/admin/toggle.tcl packages/xml-rpc/www/admin/toggle.tcl->parameter::set_from_package_key

Testcases:
parameter__check_procs
Source code:
    parameter::set_value  -package_id [apm_package_id_from_key $package_key]  -parameter $parameter  -value $value
Generic XQL file:
packages/acs-tcl/tcl/parameter-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/parameter-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/parameter-procs-oracle.xql

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