Utility code for LTI service handling.
Author: | Chris Scribner |
Copyright: | Copyright (c) 2011 Moodlerooms Inc. (http://www.moodlerooms.com) |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 310 lines (10 kb) |
Included or required: | 1 time |
Referenced: | 5 times |
Includes or requires: | 0 files |
lti_get_response_xml($codemajor, $description, $messageref, $messagetype) X-Ref |
No description |
lti_parse_message_id($xml) X-Ref |
No description |
lti_parse_grade_replace_message($xml) X-Ref |
No description |
lti_parse_grade_read_message($xml) X-Ref |
No description |
lti_parse_grade_delete_message($xml) X-Ref |
No description |
lti_accepts_grades($ltiinstance) X-Ref |
No description |
lti_set_session_user($userid) X-Ref |
Set the passed user ID to the session user. param: int $userid |
lti_update_grade($ltiinstance, $userid, $launchid, $gradeval) X-Ref |
No description |
lti_read_grade($ltiinstance, $userid) X-Ref |
No description |
lti_delete_grade($ltiinstance, $userid) X-Ref |
No description |
lti_verify_message($key, $sharedsecrets, $body, $headers = null) X-Ref |
No description |
lti_verify_sourcedid($ltiinstance, $parsed) X-Ref |
Validate source ID from external request param: object $ltiinstance param: object $parsed |
lti_extend_lti_services($data) X-Ref |
Extend the LTI services through the ltisource plugins param: stdClass $data LTI request data return: bool |