ad_parameter_from_file (public)

 ad_parameter_from_file name [ package_key ]

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

This proc returns the value of a parameter that has been set in the parameters/ad.ini file. Note: The use of the parameters/ad.ini file is discouraged. Some sites need it to provide instance-specific parameter values that are independent of the contents of the apm_parameter tables.

Parameters:
name - The name of the parameter.
package_key (optional)
Returns:
The parameter of the object or if it doesn't exist, the default.

Partial Call Graph (max 5 caller/called nodes):
%3 test_ad_parameter_from_file ad_parameter_from_file (test acs-tcl) ad_parameter_from_file ad_parameter_from_file test_ad_parameter_from_file->ad_parameter_from_file packages/acs-subsite/www/shared/parameters.tcl packages/acs-subsite/ www/shared/parameters.tcl packages/acs-subsite/www/shared/parameters.tcl->ad_parameter_from_file parameter::get parameter::get (public) parameter::get->ad_parameter_from_file parameter::get_from_package_key parameter::get_from_package_key (public) parameter::get_from_package_key->ad_parameter_from_file parameter::get_global_value parameter::get_global_value (public) parameter::get_global_value->ad_parameter_from_file

Testcases:
ad_parameter_from_file
[ show source ]
Show another procedure: