Privacy Subsystem implementation for mod_quiz.
More...
Privacy Subsystem implementation for mod_quiz.
- Copyright
- 2018 Andrew Nicols andre.nosp@m.w@ni.nosp@m.cols..nosp@m.co.u.nosp@m.k
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ delete_data_for_all_users_in_context()
static mod_quiz\privacy\provider::delete_data_for_all_users_in_context |
( |
\context | $context | ) |
|
|
static |
◆ delete_data_for_user()
◆ delete_data_for_users()
static mod_quiz\privacy\provider::delete_data_for_users |
( |
approved_userlist | $userlist | ) |
|
|
static |
◆ export_quiz_attempts()
Store all quiz attempts for the contextlist.
- Parameters
-
approved_contextlist | $contextlist | |
◆ export_user_data()
◆ get_contexts_for_userid()
static mod_quiz\privacy\provider::get_contexts_for_userid |
( |
int | $userid | ) |
|
|
static |
Get the list of contexts where the specified user has attempted a quiz, or been involved with manual marking and/or grading of a quiz.
- Parameters
-
int | $userid | The user to search. |
- Return values
-
contextlist\$contextlist | The contextlist containing the list of contexts used in this plugin. |
Implements core_privacy\local\request\core_user_data_provider.
◆ get_metadata()
static mod_quiz\privacy\provider::get_metadata |
( |
collection | $items | ) |
|
|
static |
Get the list of contexts that contain user information for the specified user.
- Parameters
-
collection | $items | The collection to add metadata to. |
- Return values
-
collection | The array of metadata |
Implements core_privacy\local\metadata\provider.
◆ get_users_in_context()
static mod_quiz\privacy\provider::get_users_in_context |
( |
userlist | $userlist | ) |
|
|
static |
The documentation for this class was generated from the following file: