- Publicity: Public Only All
lti-procs.tcl
LTI procs - Basic interface classes for integrating LTI based tools
This file defines the following Objects and Classes: ::xo::lti::LTI, ::xo::lti::LTI, ::xo::lti::LTI
- Location:
- packages/xooauth/tcl/lti-procs.tcl
- Authors:
- Guenter Ernst
- Gustaf Neumann
- Michael Aram
Procedures in this file
- Class ::xo::lti::LTI (public)
- xo::lti::LTI instproc form_render (public)
- xo::lti::LTI instproc get_context (protected)
- xo::lti::LTI instproc get_params_from_section (protected)
- xo::lti::LTI instproc init (protected)
Detailed information
Class ::xo::lti::LTI (public)
::nx::Class ::xo::lti::LTI
Common Parameter
- Testcases:
- No testcase defined.
xo::lti::LTI method form_render (public)
<instance of xo::lti::LTI> form_render [ -height height ] \ [ -sandbox sandbox ] [ -style style ] \ [ -auto_launch_p auto_launch_p ]
Set per-call parameters
- Switches:
- -height (optional, defaults to
"700"
)- -sandbox (optional)
- -style (optional, defaults to
"min-width:100%;width:100%;min-height:100%;"
)- -auto_launch_p (optional, defaults to
"0"
)- Testcases:
- No testcase defined.
xo::lti::LTI method get_context (protected)
<instance of xo::lti::LTI> get_context
- Testcases:
- No testcase defined.
xo::lti::LTI method get_params_from_section (protected)
<instance of xo::lti::LTI> get_params_from_section \ [ -extra extra ] section
Try to get every parameter from the specified config section
- Switches:
- -extra (optional, defaults to
"shared_secret"
)- Parameters:
- section (required)
- Testcases:
- No testcase defined.
xo::lti::LTI method init (protected)
<instance of xo::lti::LTI> init
Parameter precedence: 1) configure parameters when lti handler is created 2) configure file section /lti/$provider 3) from configure file section /lti Iterate over class hierarchy until xo::lti::LTI is reached and set parameters.
- Testcases:
- No testcase defined.