Implementation of the privacy subsystem plugin provider for the glossary activity module.
More...
|
static | export_glossary_data_for_user (array $glossarydata, context_module $context, array $subcontext, stdClass $user) |
| Export the supplied personal data for a single glossary activity, along with any generic data or area files.
|
|
Implementation of the privacy subsystem plugin provider for the glossary activity module.
- Copyright
- 2018 Simey Lameze simey.nosp@m.@moo.nosp@m.dle.c.nosp@m.om
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ delete_data_for_all_users_in_context()
static mod_glossary\privacy\provider::delete_data_for_all_users_in_context |
( |
\context | $context | ) |
|
|
static |
◆ delete_data_for_user()
◆ delete_data_for_users()
static mod_glossary\privacy\provider::delete_data_for_users |
( |
approved_userlist | $userlist | ) |
|
|
static |
◆ export_glossary_data_for_user()
static mod_glossary\privacy\provider::export_glossary_data_for_user |
( |
array | $glossarydata, |
|
|
context_module | $context, |
|
|
array | $subcontext, |
|
|
stdClass | $user ) |
|
staticprotected |
Export the supplied personal data for a single glossary activity, along with any generic data or area files.
- Parameters
-
array | $glossarydata | The personal data to export for the glossary. |
context_module | $context | The context of the glossary. |
array | $subcontext | The location within the current context that this data belongs. |
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_glossary\privacy\provider::get_contexts_for_userid |
( |
int | $userid | ) |
|
|
static |
◆ get_metadata()
static mod_glossary\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_glossary\privacy\provider::get_users_in_context |
( |
userlist | $userlist | ) |
|
|
static |
The documentation for this class was generated from the following file:
- mod/glossary/classes/privacy/provider.php