Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Static Public Member Functions | List of all members
core_auth\privacy\provider Class Reference

Data provider class. More...

Inheritance diagram for core_auth\privacy\provider:
core_privacy\local\metadata\provider core_privacy\local\request\user_preference_provider core_privacy\local\request\core_data_provider core_privacy\local\request\data_provider

Static Public Member Functions

static export_user_preferences (int $userid)
 Export all user preferences for the plugin. More...
 
static get_metadata (collection $collection)
 Returns metadata. More...
 

Detailed Description

Data provider class.

Author
Frédéric Massart fred@.nosp@m.bran.nosp@m.chup..nosp@m.tech
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ export_user_preferences()

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

Export all user preferences for the plugin.

Parameters
int$useridThe userid of the user whose data is to be exported.

Implements core_privacy\local\request\user_preference_provider.

◆ get_metadata()

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

Returns metadata.

Parameters
collection$collectionThe initialised collection to add items to.
Return values
collectionA listing of user data stored through this system.

Implements core_privacy\local\metadata\provider.


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