Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
servicelib.php File Reference

Functions

 lti_accepts_grades ($ltiinstance)
 
 lti_delete_grade ($ltiinstance, $userid)
 
 lti_extend_lti_services ($data)
 Extend the LTI services through the ltisource plugins.
 
 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.
 
 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.
 

Variables

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