Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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: