Privacy Subsystem helper for mod_quiz.
Copyright: | 2018 Andrew Nicols <andrew@nicols.co.uk> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 65 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
helper:: (1 method):
get_quiz_attempt_subcontext()
get_quiz_attempt_subcontext(\stdClass $attempt, \stdClass $user) X-Ref |
Determine the subcontext for the specified quiz attempt. param: \stdClass $attempt The attempt data retrieved from the database. param: \stdClass $user The user record. return: \array The calculated subcontext. |