Privacy Subsystem implementation for core_payment.
More...
Privacy Subsystem implementation for core_payment.
- Copyright
- 2020 Shamim Rezaie shami.nosp@m.m@mo.nosp@m.odle..nosp@m.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ delete_data_for_all_users_in_context()
static core_payment\privacy\provider::delete_data_for_all_users_in_context |
( |
\context | $context | ) |
|
|
static |
◆ delete_data_for_payment_sql()
static core_payment\privacy\provider::delete_data_for_payment_sql |
( |
string | $paymentsql, |
|
|
array | $paymentparams ) |
|
static |
Delete all user data related to the given payments.
- Parameters
-
string | $paymentsql | SQL query that selects payment.id field for the payments |
array | $paymentparams | Array of parameters for $paymentsql |
◆ delete_data_for_user()
◆ delete_data_for_users()
static core_payment\privacy\provider::delete_data_for_users |
( |
approved_userlist | $userlist | ) |
|
|
static |
◆ export_payment_data_for_user_in_context()
static core_payment\privacy\provider::export_payment_data_for_user_in_context |
( |
\context | $context, |
|
|
array | $subpath, |
|
|
int | $userid, |
|
|
string | $component, |
|
|
string | $paymentarea, |
|
|
int | $itemid ) |
|
static |
Export all user data for the specified user, in the specified context.
- Parameters
-
context | $context | The context that the payment belongs to |
string[] | $subpath | Sub-path to be used during export |
int | $userid | User id |
string | $component | Component name |
string | $paymentarea | Payment area |
int | $itemid | An internal identifier that is used by the component |
◆ export_user_data()
◆ get_contexts_for_userid()
static core_payment\privacy\provider::get_contexts_for_userid |
( |
int | $userid | ) |
|
|
static |
Get the list of users who have data within a context.
- Parameters
-
int | $userid | The user to search. |
- Return values
-
contextlist | The contextlist containing the list of contexts used in this plugin. |
Implements core_privacy\local\request\core_user_data_provider.
◆ get_metadata()
static core_payment\privacy\provider::get_metadata |
( |
collection | $collection | ) |
|
|
static |
Returns meta data about this system.
- Parameters
-
collection | $collection | The initialised collection to add items to. |
- Return values
-
collection | A listing of user data stored through this system. |
Implements core_privacy\local\metadata\provider.
◆ get_users_in_context()
static core_payment\privacy\provider::get_users_in_context |
( |
userlist | $userlist | ) |
|
|
static |
The documentation for this class was generated from the following file:
- payment/classes/privacy/provider.php