Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: