Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Static Public Member Functions | List of all members
datafield_textarea\privacy\provider Class Reference

Privacy Subsystem for datafield_textarea implementing null_provider. More...

Inheritance diagram for datafield_textarea\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. More...
 
static export_data_content ($context, $recordobj, $fieldobj, $contentobj, $defaultvalue)
 Exports data about one record in {data_content} table. 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 datafield_textarea implementing null_provider.

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

Member Function Documentation

◆ delete_data_content()

static datafield_textarea\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_textarea\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_textarea\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: