LTI Launching
To enable LTI capability the authentication array in /config/config.inc.php must be set:
$authentication = array( array('ltilogin', array(), 'LTI Auth'),
Configurarion of the LTI integration is possible via the configuration screen.
Steps taken when LTI launch is detected:
- Is LTI valid?
- Does oauth_consumer_key match?
- Does secret match?
- Does context match?
- If student:
- If there is no resource configured (i.e. link to paper) then exit.
- If module is self-enrol and student not on it then add them to the module.
- Redirect student to the paper.
- If staff (instructor):
- Do we have a valid resource?
- If member of staff is not on the module and registration is allowed add them to the module.
- If member of staff is not on the module and registration is not allowed then exit.
- Redirect staff to the paper.
- Present list of papers for staff to link to the LTI link. (Students will not be able to use the LTI link until this step is complete).
- Do we have a valid resource?
Marks return
Marks are returned to LTI consumer tool in the display_summary()
function within /include/finish_functions.inc. Function that is called to send the grade is send_grade($grade)
.
Paper Types
The following paper types are supported via an LTI integration:
- Formative
- Progressive
- Survey
- OSCE
Database Tables
lti_context | Holds the link information between lti context and the Rogo course. |
lti_keys | Holds the LTI keys information. |
lti_resource | Holds the link information between lti resourse and the Rogo paper. |
lti_user | LTI Holds the link information between the LTI user and the Rogo user ID. |