Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
qtype_ordering\privacy\provider Class Reference
Inheritance diagram for qtype_ordering\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 question.
 
static get_metadata (collection $collection)
 Returns metadata about this question.
 

Member Function Documentation

◆ export_user_preferences()

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

Export all user preferences for the question.

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

Implements core_privacy\local\request\user_preference_provider.

◆ get_metadata()

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

Returns metadata about this question.

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

Implements core_privacy\local\metadata\provider.


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