ad_parameter_section { subsection " " }What it does:
Returns all the vars in a parameter section as an ns_set. Relies on undocumented AOLserver Tcl API call ns_configsection (analogous C API call is documented). Differs from the API call in that it returns an empty ns_set if the parameter section does not exist.Defined in: /web/philip/packages/acs-core/defs-procs.tcl
Source code:
set server_name [ns_info server] append config_path "ns/server/" $server_name "/acs" if ![empty_string_p $subsection] { append config_path "/$subsection" } set what_aolserver_gave_us [ns_configsection $config_path] if [empty_string_p $what_aolserver_gave_us] { return [ns_set new "empty set for config section"] } else { return $what_aolserver_gave_us }