Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core_courseformat\privacy\provider Class Reference

Privacy provider implementation for courseformat core subsystem. More...

Inheritance diagram for core_courseformat\privacy\provider:

Static Public Member Functions

static export_user_preferences (int $userid)
 Store all user preferences for this system.
 
static get_metadata (collection $collection)
 Returns meta data about this system.
 

Public Attributes

const SECTION_PREFERENCES_PREFIX = 'coursesectionspreferences'
 The user preference for the navigation drawer.
 

Detailed Description

Privacy provider implementation for courseformat core subsystem.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ export_user_preferences()

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

Store all user preferences for this system.

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_courseformat\privacy\provider::get_metadata ( collection $collection)
static

Returns meta data about this system.

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: