xo::lti::LTI method get_params_from_section (protected)

 <instance of xo::lti::LTI[i]> get_params_from_section \
    [ -extra extra ] section

Defined in packages/xooauth/tcl/lti-procs.tcl

Try to get every parameter from the specified config section

Switches:
-extra (optional, defaults to "shared_secret")
Parameters:
section (required)

Testcases:
No testcase defined.
Source code:
foreach param [concat [::xo::lti::LTI cget -lti_params] $extra] {
    if {![info exists :$param]} {
        set value [ns_config $section $param]
        #ns_log notice "get_params_from_section '$section' param '$param' -> '$value'"
        if {$value ne ""} {
            ns_log notice "get param '$param' from section '$section' -> '$value'"
            set :$param $value
        }
    }
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: