parameter::get_global_value (public)
parameter::get_global_value [ -localize ] [ -boolean ] \ -package_key package_key -parameter parameter [ -default default ]
Defined in packages/acs-tcl/tcl/parameter-procs.tcl
Get the value of a global package parameter.
- Switches:
- -localize (optional, boolean)
- should we attempt to localize the parameter
- -boolean (optional, boolean)
- ensure boolean parameters are normalized to 0 or 1
- -package_key (required)
- identifies the package to which the global param belongs
- -parameter (required)
- which parameter's value to get
- -default (optional)
- what to return if we don't find a value. Defaults to returning the empty string.
- Returns:
- The string trimmed (leading and trailing spaces removed) parameter value
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- parameter_register_test, parameter__check_procs