Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
tool_dataprivacy\output\my_data_requests_page Class Reference

Class containing data for a user's data requests. More...

Inheritance diagram for tool_dataprivacy\output\my_data_requests_page:
renderable templatable

Public Member Functions

 __construct ($requests)
 Construct this renderable.
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template.
 

Protected Attributes

array $requests = []
 $requests List of data requests.
 

Detailed Description

Class containing data for a user's data requests.

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

Constructor & Destructor Documentation

◆ __construct()

tool_dataprivacy\output\my_data_requests_page::__construct ( $requests)

Construct this renderable.

Parameters
data_request[]$requests

Member Function Documentation

◆ export_for_template()

tool_dataprivacy\output\my_data_requests_page::export_for_template ( renderer_base $output)

Export this data so it can be used as the context for a mustache template.

Parameters
renderer_base$output
Return values
stdClass
Exceptions
coding_exception
moodle_exception

Implements templatable.


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