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
(boolean) (optional)
should we attempt to localize the parameter
-boolean
(boolean) (optional)
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):
%3 test_parameter__check_procs parameter__check_procs (test acs-tcl) parameter::get_global_value parameter::get_global_value test_parameter__check_procs->parameter::get_global_value test_parameter_register_test parameter_register_test (test acs-tcl) test_parameter_register_test->parameter::get_global_value ad_parameter_cache ad_parameter_cache (public) parameter::get_global_value->ad_parameter_cache ad_parameter_from_file ad_parameter_from_file (public) parameter::get_global_value->ad_parameter_from_file lang::util::localize lang::util::localize (public) parameter::get_global_value->lang::util::localize packages/file-storage/www/folder-chunk.tcl packages/file-storage/ www/folder-chunk.tcl packages/file-storage/www/folder-chunk.tcl->parameter::get_global_value packages/news/www/admin/index.tcl packages/news/ www/admin/index.tcl packages/news/www/admin/index.tcl->parameter::get_global_value packages/news/www/index.tcl packages/news/ www/index.tcl packages/news/www/index.tcl->parameter::get_global_value parameter::get_from_package_key parameter::get_from_package_key (public) parameter::get_from_package_key->parameter::get_global_value rss_gen_service rss_gen_service (private) rss_gen_service->parameter::get_global_value

Testcases:
parameter_register_test, parameter__check_procs
[ show source ]
Show another procedure: