The quizaccess_provider interface provides the expected interface for all 'quizaccess' quizaccesss.
More...
The quizaccess_provider interface provides the expected interface for all 'quizaccess' quizaccesss.
- 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_quizaccess_data_for_all_users_in_context()
static mod_quiz\privacy\quizaccess_provider::delete_quizaccess_data_for_all_users_in_context |
( |
\quiz |
$quiz | ) |
|
|
static |
Delete all data for all users in the specified quiz.
- Parameters
-
quiz | $quiz | The quiz being deleted |
◆ delete_quizaccess_data_for_user()
static mod_quiz\privacy\quizaccess_provider::delete_quizaccess_data_for_user |
( |
\quiz |
$quiz, |
|
|
stdClass |
$user |
|
) |
| |
|
static |
Delete all user data for the specified user, in the specified quiz.
- Parameters
-
quiz | $quiz | The quiz being deleted |
stdClass | $user | The user to export data for |
◆ export_quizaccess_user_data()
static mod_quiz\privacy\quizaccess_provider::export_quizaccess_user_data |
( |
\quiz |
$quiz, |
|
|
stdClass |
$user |
|
) |
| |
|
static |
Export all user data for the specified user, for the specified quiz.
- Parameters
-
quiz | $quiz | The quiz being exported |
stdClass | $user | The user to export data for |
- Return values
-
stdClass | The data to be exported for this access rule. |
The documentation for this interface was generated from the following file: