Infected file report.
More...
◆ delete_data_for_all_users_in_context()
static report_infectedfiles\privacy\provider::delete_data_for_all_users_in_context |
( |
\context | $context | ) |
|
|
static |
As this report tracks potential attempted security violations, This data should not be deleted at request.
This would allow for an avenue for a malicious user to cover their tracks. This function deliberately does no deletes.
- Parameters
-
context | $context | the context to delete for. |
- Return values
-
◆ delete_data_for_user()
static report_infectedfiles\privacy\provider::delete_data_for_user |
( |
request\approved_contextlist | $contextlist | ) |
|
|
static |
As this report tracks potential attempted security violations, This data should not be deleted at request.
This would allow for an avenue for a malicious user to cover their tracks. This function deliberately does no deletes.
- Parameters
-
- Return values
-
◆ delete_data_for_users()
static report_infectedfiles\privacy\provider::delete_data_for_users |
( |
request\approved_userlist | $userlist | ) |
|
|
static |
As this report tracks potential attempted security violations, This data should not be deleted at request.
This would allow for an avenue for a malicious user to cover their tracks. This function deliberately does no deletes.
- Parameters
-
request\approved_userlist | $userlist | |
- Return values
-
◆ export_user_data()
static report_infectedfiles\privacy\provider::export_user_data |
( |
request\approved_contextlist | $contextlist | ) |
|
|
static |
This function exports user data on infected files from the contextlist provided.
- Parameters
-
request\approved_contextlist | $contextlist | |
- Return values
-
◆ get_contexts_for_userid()
static report_infectedfiles\privacy\provider::get_contexts_for_userid |
( |
int | $userid | ) |
|
|
static |
This function gets the contexts containing data for a userid.
- Parameters
-
int | $userid | The userid to get contexts for. |
- Return values
-
request\contextlist | the context list for the user. |
◆ get_metadata()
static report_infectedfiles\privacy\provider::get_metadata |
( |
collection | $collection | ) |
|
|
static |
This plugin stores the userid of infected users.
- Parameters
-
collection | $collection | the collection object to add data to. |
- Return values
-
collection | The populated collection. |
Implements core_privacy\local\metadata\provider.
◆ get_users_in_context()
static report_infectedfiles\privacy\provider::get_users_in_context |
( |
request\userlist | $userlist | ) |
|
|
static |
This gets the list of users inside of the provided context.
In this case, its only system context which contains users.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file:
- report/infectedfiles/classes/privacy/provider.php