Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
theme_boost\privacy\provider Class Reference

The boost theme stores a user preference data. More...

Inheritance diagram for theme_boost\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 $items)
 Returns meta data about this system.
 

Public Attributes

const DRAWER_OPEN_BLOCK = 'drawer-open-block'
 The user preferences for the blocks drawer.
 
const DRAWER_OPEN_INDEX = 'drawer-open-index'
 The user preferences for the course index.
 

Detailed Description

The boost theme stores a user preference data.

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

Member Function Documentation

◆ export_user_preferences()

static theme_boost\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_metadata()

static theme_boost\privacy\provider::get_metadata ( collection $items)
static

Returns meta data about this system.

Parameters
collection$itemsThe 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: