nsmcp::ToolRegistry object method providerConfig (public)

 nsmcp::ToolRegistry[i] providerConfig context parameter default

Defined in /usr/local/ns/tcl/nsmcp/01-tools.tcl

Read a provider setting from the configured sections. Try the primary and fallback sections in order, using the supplied default when neither supplies the parameter.

Parameters:
context (required)
Provider configuration dictionary with primary and fallback section names.
parameter (required)
NaviServer configuration parameter name.
default (required)
Value used when the requested configuration entry is absent.
Returns:
The configured setting, or the default.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: