Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_reportbuilder\privacy\provider Class Reference
Inheritance diagram for core_reportbuilder\privacy\provider:
core_privacy\local\metadata\provider core_privacy\local\request\plugin\provider core_privacy\local\request\core_userlist_provider core_privacy\local\request\user_preference_provider core_privacy\local\request\core_user_data_provider core_privacy\local\request\userlist_provider core_privacy\local\request\core_data_provider core_privacy\local\request\core_data_provider core_privacy\local\request\data_provider core_privacy\local\request\data_provider

Static Public Member Functions

static delete_data_for_all_users_in_context (\context $context)
 Delete all data for all users in the specified context.
 
static delete_data_for_all_users_in_context (context $context)
 Delete data for all users in context.
 
static delete_data_for_user (approved_contextlist $contextlist)
 Delete data for user.
 
static delete_data_for_users (approved_userlist $userlist)
 Delete data for users.
 
static export_user_data (approved_contextlist $contextlist)
 Export all user data for the specified user in the specified contexts.
 
static export_user_preferences (int $userid)
 Export all user preferences for the component.
 
static get_contexts_for_userid (int $userid)
 Get the list of contexts that contain user information for the specified user.
 
static get_export_subcontext (report $report)
 Get export sub context for a report.
 
static get_metadata (collection $collection)
 Returns metadata about the component.
 
static get_users_in_context (userlist $userlist)
 Get users in context.
 

Static Protected Member Functions

static export_audiences (context $context, array $subcontext, array $audiences)
 Export given audiences in context.
 
static export_report (array $subcontext, report $report)
 Export given report in context.
 
static export_schedules (context $context, array $subcontext, array $schedules)
 Export given schedules in context.
 

Member Function Documentation

◆ delete_data_for_all_users_in_context() [1/2]

static core_privacy\local\request\core_user_data_provider::delete_data_for_all_users_in_context ( \context $context)
staticinherited

Delete all data for all users in the specified context.

Parameters
context$contextThe specific context to delete data for.

Implemented in auth_lti\privacy\provider, auth_mnet\privacy\provider, auth_oauth2\privacy\provider, block_comments\privacy\provider, block_html\privacy\provider, block_recent_activity\privacy\provider, block_recentlyaccesseditems\privacy\provider, block_rss_client\privacy\provider, block_tag_flickr\privacy\provider, cachestore_redis\privacy\provider, cachestore_session\privacy\provider, core_adminpresets\privacy\provider, core_analytics\privacy\provider, core_backup\privacy\provider, core_calendar\privacy\provider, core_cohort\privacy\provider, core_contentbank\privacy\provider, core_course\privacy\provider, core_enrol\privacy\provider, core_files\privacy\provider, core_grading\privacy\provider, core_group\privacy\provider, core_message\privacy\provider, core_notes\privacy\provider, core_payment\privacy\provider, core_portfolio\privacy\provider, core_question\privacy\provider, core_repository\privacy\provider, core_role\privacy\provider, core_rss\privacy\provider, core_tag\privacy\provider, core_user\privacy\provider, editor_atto\privacy\provider, enrol_cohort\privacy\provider, enrol_flatfile\privacy\provider, enrol_lti\privacy\provider, enrol_meta\privacy\provider, enrol_paypal\privacy\provider, fileconverter_googledrive\privacy\provider, ltiservice_basicoutcomes\privacy\provider, ltiservice_gradebookservices\privacy\provider, ltiservice_memberships\privacy\provider, message_airnotifier\privacy\provider, message_email\privacy\provider, mnetservice_enrol\privacy\provider, mod_assign\privacy\provider, mod_bigbluebuttonbn\privacy\provider, mod_choice\privacy\provider, mod_data\privacy\provider, mod_feedback\privacy\provider, mod_forum\privacy\provider, mod_glossary\privacy\provider, mod_h5pactivity\privacy\provider, mod_lti\privacy\provider, mod_quiz\privacy\provider, mod_scorm\privacy\provider, mod_workshop\privacy\provider, profilefield_checkbox\privacy\provider, profilefield_datetime\privacy\provider, profilefield_menu\privacy\provider, profilefield_social\privacy\provider, profilefield_text\privacy\provider, profilefield_textarea\privacy\provider, qbank_comment\privacy\provider, quizaccess_seb\privacy\provider, report_stats\privacy\provider, repository_dropbox\privacy\provider, repository_flickr\privacy\provider, repository_flickr_public\privacy\provider, repository_googledocs\privacy\provider, repository_merlot\privacy\provider, repository_onedrive\privacy\provider, repository_wikimedia\privacy\provider, repository_youtube\privacy\provider, search_simpledb\privacy\provider, search_solr\privacy\provider, tiny_autosave\privacy\provider, tool_cohortroles\privacy\provider, tool_mobile\privacy\provider, tool_monitor\privacy\provider, and tool_policy\privacy\provider.

◆ delete_data_for_all_users_in_context() [2/2]

static core_reportbuilder\privacy\provider::delete_data_for_all_users_in_context ( context $context)
static

Delete data for all users in context.

Parameters
context$context

◆ delete_data_for_user()

static core_reportbuilder\privacy\provider::delete_data_for_user ( approved_contextlist $contextlist)
static

Delete data for user.

Parameters
approved_contextlist$contextlist

Implements core_privacy\local\request\core_user_data_provider.

◆ delete_data_for_users()

static core_reportbuilder\privacy\provider::delete_data_for_users ( approved_userlist $userlist)
static

Delete data for users.

Parameters
approved_userlist$userlist

Implements core_privacy\local\request\core_userlist_provider.

◆ export_audiences()

static core_reportbuilder\privacy\provider::export_audiences ( context $context,
array $subcontext,
array $audiences )
staticprotected

Export given audiences in context.

Parameters
context$context
array$subcontext
audience[]$audiences

◆ export_report()

static core_reportbuilder\privacy\provider::export_report ( array $subcontext,
report $report )
staticprotected

Export given report in context.

Parameters
array$subcontext
report$report

◆ export_schedules()

static core_reportbuilder\privacy\provider::export_schedules ( context $context,
array $subcontext,
array $schedules )
staticprotected

Export given schedules in context.

Parameters
context$context
array$subcontext
schedule[]$schedules

◆ export_user_data()

static core_reportbuilder\privacy\provider::export_user_data ( approved_contextlist $contextlist)
static

Export all user data for the specified user in the specified contexts.

Parameters
approved_contextlist$contextlist

Implements core_privacy\local\request\core_user_data_provider.

◆ export_user_preferences()

static core_reportbuilder\privacy\provider::export_user_preferences ( int $userid)
static

Export all user preferences for the component.

Parameters
int$userid

Implements core_privacy\local\request\user_preference_provider.

◆ get_contexts_for_userid()

static core_reportbuilder\privacy\provider::get_contexts_for_userid ( int $userid)
static

Get the list of contexts that contain user information for the specified user.

Parameters
int$userid
Return values
contextlist

Implements core_privacy\local\request\core_user_data_provider.

◆ get_export_subcontext()

static core_reportbuilder\privacy\provider::get_export_subcontext ( report $report)
static

Get export sub context for a report.

Parameters
report$report
Return values
array

◆ get_metadata()

static core_reportbuilder\privacy\provider::get_metadata ( collection $collection)
static

Returns metadata about the component.

Parameters
collection$collection
Return values
collection

Implements core_privacy\local\metadata\provider.

◆ get_users_in_context()

static core_reportbuilder\privacy\provider::get_users_in_context ( userlist $userlist)
static

Get users in context.

Parameters
userlist$userlist

Implements core_privacy\local\request\core_userlist_provider.


The documentation for this class was generated from the following file: