Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

(no description)

File Size: 380 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: provider  - X-Ref

Privacy Subsystem for core_reportbuilder

get_metadata(collection $collection)   X-Ref
Returns metadata about the component

param: collection $collection
return: collection

export_user_preferences(int $userid)   X-Ref
Export all user preferences for the component

param: int $userid

get_export_subcontext(report $report)   X-Ref
Get export sub context for a report

param: report $report
return: array

get_contexts_for_userid(int $userid)   X-Ref
Get the list of contexts that contain user information for the specified user

param: int $userid
return: contextlist

get_users_in_context(userlist $userlist)   X-Ref
Get users in context

param: userlist $userlist

export_user_data(approved_contextlist $contextlist)   X-Ref
Export all user data for the specified user in the specified contexts

param: approved_contextlist $contextlist

delete_data_for_all_users_in_context(context $context)   X-Ref
Delete data for all users in context

param: context $context

delete_data_for_user(approved_contextlist $contextlist)   X-Ref
Delete data for user

param: approved_contextlist $contextlist

delete_data_for_users(approved_userlist $userlist)   X-Ref
Delete data for users

param: approved_userlist $userlist

export_report(array $subcontext, report $report)   X-Ref
Export given report in context

param: array $subcontext
param: report $report

export_audiences(context $context, array $subcontext, array $audiences)   X-Ref
Export given audiences in context

param: context $context
param: array $subcontext
param: audience[] $audiences

export_schedules(context $context, array $subcontext, array $schedules)   X-Ref
Export given schedules in context

param: context $context
param: array $subcontext
param: schedule[] $schedules