Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
scormreport_objectives\privacy\provider Class Reference

Privacy Subsystem for scormreport_objectives. More...

Inheritance diagram for scormreport_objectives\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)
 Store all user preferences for the plugin.
 
static get_metadata (collection $collection)
 Returns meta data about this system.
 

Static Protected Member Functions

static get_and_export_user_preference (int $userid, string $userpreference, $transform=false)
 Get and export a user preference.
 

Detailed Description

Privacy Subsystem for scormreport_objectives.

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

Member Function Documentation

◆ export_user_preferences()

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

Store 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_and_export_user_preference()

static scormreport_objectives\privacy\provider::get_and_export_user_preference ( int $userid,
string $userpreference,
$transform = false )
staticprotected

Get and export a user preference.

Parameters
int$useridThe userid of the user whose data is to be exported.
string$userpreferenceThe user preference to export.
boolean$transformIf true, transform value to yesno.

◆ get_metadata()

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

Returns meta data about this system.

Parameters
collection$collectionThe initialised item 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: