Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Static Public Member Functions | List of all members
customfield_text\privacy\provider Class Reference

Privacy Subsystem for customfield_text implementing null_provider. More...

Inheritance diagram for customfield_text\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) More...
 
static before_delete_fields (string $fieldidstest, array $params, array $contextids)
 Allows plugins to delete everything they store related to the field configuration (usually files) More...
 
static export_customfield_data (data_controller $data, stdClass $exportdata, array $subcontext)
 Preprocesses data object that is going to be exported. More...
 
static get_reason ()
 Get the language string identifier with the component's language file to explain why this plugin stores no data. More...
 

Detailed Description

Privacy Subsystem for customfield_text implementing null_provider.

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

Member Function Documentation

◆ before_delete_data()

static customfield_text\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_text\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_text\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_text\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: