Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Static Public Member Functions | List of all members
mod_quiz\privacy\helper Class Reference

Privacy Subsystem implementation for mod_quiz. More...

Static Public Member Functions

static get_quiz_attempt_subcontext (\stdClass $attempt, stdClass $user)
 Determine the subcontext for the specified quiz attempt. More...
 

Detailed Description

Privacy Subsystem implementation for mod_quiz.

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

Member Function Documentation

◆ get_quiz_attempt_subcontext()

static mod_quiz\privacy\helper::get_quiz_attempt_subcontext ( \stdClass  $attempt,
stdClass  $user 
)
static

Determine the subcontext for the specified quiz attempt.

Parameters
stdClass$attemptThe attempt data retrieved from the database.
stdClass$userThe user record.
Return values
arrayThe calculated subcontext.

The documentation for this class was generated from the following file: