parameter::get (public)
parameter::get [ -localize ] [ -boolean ] [ -package_id package_id ] \ -parameter parameter [ -default default ]
Defined in packages/acs-tcl/tcl/parameter-procs.tcl
Get the value of a package instance 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_id (optional)
- what package to get the parameter from. Defaults to [ad_conn package_id]
- -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:
- auth_password_change, locale__test_system_package_setting, acs_subsite_test_email_confirmation, password_recovery_page, subsite_api, parameter_register_test, parameter__check_procs, logout_from_everywhere, cookie_consent__setup