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

Privacy Subsystem for datafield_text implementing null_provider. More...

Inheritance diagram for datafield_text\privacy\provider:
core_privacy\local\metadata\null_provider mod_data\privacy\datafield_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 delete_data_content ($context, $recordobj, $fieldobj, $contentobj)
 Allows plugins to delete locally stored data.
 
static export_data_content ($context, $recordobj, $fieldobj, $contentobj, $defaultvalue)
 Exports data about one record in {data_content} table.
 
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 datafield_text implementing null_provider.

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

Member Function Documentation

◆ delete_data_content()

static datafield_text\privacy\provider::delete_data_content ( $context,
$recordobj,
$fieldobj,
$contentobj )
static

Allows plugins to delete locally stored data.

Parameters
context_module$context
stdClass$recordobjrecord from DB table {data_records}
stdClass$fieldobjrecord from DB table {data_fields}
stdClass$contentobjrecord from DB table {data_content}

Implements mod_data\privacy\datafield_provider.

◆ export_data_content()

static datafield_text\privacy\provider::export_data_content ( $context,
$recordobj,
$fieldobj,
$contentobj,
$defaultvalue )
static

Exports data about one record in {data_content} table.

Parameters
context_module$context
stdClass$recordobjrecord from DB table {data_records}
stdClass$fieldobjrecord from DB table {data_fields}
stdClass$contentobjrecord from DB table {data_content}
stdClass$defaultvaluepre-populated default value that most of plugins will use

Implements mod_data\privacy\datafield_provider.

◆ get_reason()

static datafield_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: