Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
customfield_checkbox\privacy\provider Class Reference

Privacy Subsystem for customfield_checkbox implementing null_provider. More...

Inheritance diagram for customfield_checkbox\privacy\provider:
core_privacy\local\metadata\null_provider core_customfield\privacy\customfield_provider core_privacy\local\request\plugin\subplugin_provider core_privacy\local\request\shared_userlist_provider core_privacy\local\request\shared_data_provider core_privacy\local\request\userlist_provider core_privacy\local\request\data_provider

Static Public Member Functions

static before_delete_data (string $dataidstest, array $params, array $contextids)
 Allows plugins to delete everything they store related to the data (usually files)
 
static before_delete_fields (string $fieldidstest, array $params, array $contextids)
 Allows plugins to delete everything they store related to the field configuration (usually files)
 
static export_customfield_data (data_controller $data, stdClass $exportdata, array $subcontext)
 Preprocesses data object that is going to be exported.
 
static get_reason ()
 Get the language string identifier with the component's language file to explain why this plugin stores no data.
 

Detailed Description

Privacy Subsystem for customfield_checkbox implementing null_provider.

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

Member Function Documentation

◆ before_delete_data()

static customfield_checkbox\privacy\provider::before_delete_data ( string $dataidstest,
array $params,
array $contextids )
static

Allows plugins to delete everything they store related to the data (usually files)

Parameters
string$dataidstest
array$params
array$contextids
Return values
mixed|void

Implements core_customfield\privacy\customfield_provider.

◆ before_delete_fields()

static customfield_checkbox\privacy\provider::before_delete_fields ( string $fieldidstest,
array $params,
array $contextids )
static

Allows plugins to delete everything they store related to the field configuration (usually files)

Parameters
string$fieldidstest
array$params
array$contextids

Implements core_customfield\privacy\customfield_provider.

◆ export_customfield_data()

static customfield_checkbox\privacy\provider::export_customfield_data ( data_controller $data,
stdClass $exportdata,
array $subcontext )
static

Preprocesses data object that is going to be exported.

Parameters
data_controller$data
stdClass$exportdata
array$subcontext

Implements core_customfield\privacy\customfield_provider.

◆ get_reason()

static customfield_checkbox\privacy\provider::get_reason ( )
static

Get the language string identifier with the component's language file to explain why this plugin stores no data.

Return values
string

Implements core_privacy\local\metadata\null_provider.


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