Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Functions | Variables
servicelib.php File Reference

Utility code for LTI service handling. More...

Functions

 lti_accepts_grades ($ltiinstance)
 
 lti_delete_grade ($ltiinstance, $userid)
 
 lti_extend_lti_services ($data)
 Extend the LTI services through the ltisource plugins. More...
 
 lti_get_response_xml ($codemajor, $description, $messageref, $messagetype)
 
 lti_parse_grade_delete_message ($xml)
 
 lti_parse_grade_read_message ($xml)
 
 lti_parse_grade_replace_message ($xml)
 
 lti_parse_message_id ($xml)
 
 lti_read_grade ($ltiinstance, $userid)
 
 lti_set_session_user ($userid)
 Set the passed user ID to the session user. More...
 
 lti_update_grade ($ltiinstance, $userid, $launchid, $gradeval)
 
 lti_verify_message ($key, $sharedsecrets, $body, $headers=null)
 
 lti_verify_sourcedid ($ltiinstance, $parsed)
 Validate source ID from external request. More...
 

Variables

const LTI_ITEM_MODULE 'lti'
 
const LTI_ITEM_TYPE 'mod'
 
const LTI_SOURCE 'mod/lti'
 

Detailed Description

Utility code for LTI service handling.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Author
Chris Scribner