Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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.
 

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: