Implementation of the privacy subsystem plugin provider for the choice activity module.
More...
|
static | export_choice_data_for_user (array $choicedata, context_module $context, stdClass $user) |
| Export the supplied personal data for a single choice activity, along with any generic data or area files.
|
|
Implementation of the privacy subsystem plugin provider for the choice activity module.
- Copyright
- 2018 Jun Pataleta
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ delete_data_for_all_users_in_context()
static mod_choice\privacy\provider::delete_data_for_all_users_in_context |
( |
\context | $context | ) |
|
|
static |
◆ delete_data_for_user()
◆ delete_data_for_users()
static mod_choice\privacy\provider::delete_data_for_users |
( |
approved_userlist | $userlist | ) |
|
|
static |
◆ export_choice_data_for_user()
static mod_choice\privacy\provider::export_choice_data_for_user |
( |
array | $choicedata, |
|
|
context_module | $context, |
|
|
stdClass | $user ) |
|
staticprotected |
Export the supplied personal data for a single choice activity, along with any generic data or area files.
- Parameters
-
array | $choicedata | the personal data to export for the choice. |
context_module | $context | the context of the choice. |
stdClass | $user | the user record |
◆ export_user_data()
Export personal data for the given approved_contextlist.
User and context information is contained within the contextlist.
- Parameters
-
approved_contextlist | $contextlist | a list of contexts approved for export. |
Implements core_privacy\local\request\core_user_data_provider.
◆ get_contexts_for_userid()
static mod_choice\privacy\provider::get_contexts_for_userid |
( |
int | $userid | ) |
|
|
static |
◆ get_metadata()
static mod_choice\privacy\provider::get_metadata |
( |
collection | $items | ) |
|
|
static |
Return the fields which contain personal data.
- Parameters
-
collection | $items | a reference to the collection to use to store the metadata. |
- Return values
-
collection | the updated collection of metadata items. |
Implements core_privacy\local\metadata\provider.
◆ get_users_in_context()
static mod_choice\privacy\provider::get_users_in_context |
( |
userlist | $userlist | ) |
|
|
static |
The documentation for this class was generated from the following file:
- mod/choice/classes/privacy/provider.php