Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Namespaces | |
namespace | tool_dataprivacy |
| |
namespace | tool_dataprivacy\event |
| |
namespace | tool_dataprivacy\external |
| |
namespace | tool_dataprivacy\form |
| |
namespace | tool_dataprivacy\local |
| |
namespace | tool_dataprivacy\output |
| |
namespace | tool_dataprivacy\privacy |
| |
namespace | tool_dataprivacy\task |
| |
Classes | |
class | behat_tool_dataprivacy |
Step definitions to generate database fixtures for the data privacy tool. More... | |
class | data_privacy_testcase |
Parent class for tests which need data privacy functionality. More... | |
class | tool_dataprivacy\api |
Class containing helper methods for processing data requests. More... | |
class | tool_dataprivacy\category |
Class for loading/storing data categories from the DB. More... | |
class | tool_dataprivacy\context_instance |
Class for loading/storing context instances data from the DB. More... | |
class | tool_dataprivacy\contextlevel |
Class for loading/storing context level data from the DB. More... | |
class | tool_dataprivacy\contextlist_context |
class | tool_dataprivacy\data_registry |
Data registry business logic methods. More... | |
class | tool_dataprivacy\data_request |
Class for loading/storing data requests from the DB. More... | |
class | tool_dataprivacy\dataprivacy_contextlist |
class | tool_dataprivacy\event\user_deleted_observer |
Event observers supported by this module. More... | |
class | tool_dataprivacy\expired_context |
Class that represents an expired context. More... | |
class | tool_dataprivacy\expired_contexts_manager |
Expired contexts manager. More... | |
class | tool_dataprivacy\expiry_info |
Expiry Data. More... | |
class | tool_dataprivacy\external |
Class external. More... | |
class | tool_dataprivacy\external\category_exporter |
Class for exporting field data. More... | |
class | tool_dataprivacy\external\context_instance_exporter |
Class for exporting context instance. More... | |
class | tool_dataprivacy\external\create_data_request |
class | tool_dataprivacy\external\data_request_exporter |
Class for exporting user evidence with all competencies. More... | |
class | tool_dataprivacy\external\get_access_information |
class | tool_dataprivacy\external\get_data_requests |
class | tool_dataprivacy\external\name_description_exporter |
Class that exports an object containing a name and a description. More... | |
class | tool_dataprivacy\external\purpose_exporter |
Class for exporting field data. More... | |
class | tool_dataprivacy\external\submit_selected_courses_form |
Class for submit selected courses from form. More... | |
class | tool_dataprivacy\filtered_userlist |
An implementation of a userlist which can be filtered by role. More... | |
class | tool_dataprivacy\form\category |
Data category form. More... | |
class | tool_dataprivacy\form\contactdpo |
class | tool_dataprivacy\form\context_instance |
Context instance data form. More... | |
class | tool_dataprivacy\form\contextlevel |
Context level data form. More... | |
class | tool_dataprivacy\form\exportfilter_form |
Form to filter export data. More... | |
class | tool_dataprivacy\form\purpose |
Data purpose form. More... | |
class | tool_dataprivacy\hook_callbacks |
class | tool_dataprivacy\local\helper |
Class containing helper functions for the data privacy tool. More... | |
class | tool_dataprivacy\manager_observer |
A failure observer for the core_privacy\manager. More... | |
class | tool_dataprivacy\metadata_registry |
Class containing helper methods for processing data requests. More... | |
class | tool_dataprivacy\output\categories |
Class containing the categories page renderable. More... | |
class | tool_dataprivacy\output\crud_element |
Abstract renderer for independent renderable elements. More... | |
class | tool_dataprivacy\output\data_deletion_page |
Class containing data for a user's data requests. More... | |
class | tool_dataprivacy\output\data_registry_compliance_page |
Class containing the data registry compliance renderable. More... | |
class | tool_dataprivacy\output\data_registry_page |
Class containing the data registry renderable. More... | |
class | tool_dataprivacy\output\data_requests_page |
Class containing data for a user's data requests. More... | |
class | tool_dataprivacy\output\data_requests_table |
The class for displaying the data requests table. More... | |
class | tool_dataprivacy\output\defaults_page |
Class containing data for the data registry defaults. More... | |
class | tool_dataprivacy\output\expired_contexts_table |
The class for displaying the expired contexts table. More... | |
class | tool_dataprivacy\output\my_data_requests_page |
Class containing data for a user's data requests. More... | |
class | tool_dataprivacy\output\purposes |
Class containing the purposes page renderable. More... | |
class | tool_dataprivacy\output\renderer |
Renderer class for tool_dataprivacy. More... | |
class | tool_dataprivacy\output\request_filter |
Class containing the filter options data for rendering the autocomplete element for the data requests page. More... | |
class | tool_dataprivacy\output\summary_page |
Class containing the summary page renderable. More... | |
class | tool_dataprivacy\page_helper |
Page helper. More... | |
class | tool_dataprivacy\privacy\provider |
Privacy class for requesting user data. More... | |
class | tool_dataprivacy\purpose |
Class for loading/storing data purposes from the DB. More... | |
class | tool_dataprivacy\purpose_override |
Class for loading/storing data purpose overrides from the DB. More... | |
class | tool_dataprivacy\request_contextlist |
class | tool_dataprivacy\task\delete_existing_deleted_users |
Scheduled task to create delete data request for pre-existing deleted users. More... | |
class | tool_dataprivacy\task\delete_expired_contexts |
Scheduled task to delete expired context instances once they are approved for deletion. More... | |
class | tool_dataprivacy\task\delete_expired_requests |
Scheduled task to delete files and update request statuses once they expire. More... | |
class | tool_dataprivacy\task\expired_retention_period |
Scheduled task to flag contexts as expired. More... | |
class | tool_dataprivacy_data_request_form |
The contact form to the site's Data Protection Officer. More... | |
class | tool_dataprivacy_generator |
Data privacy tool data generator class. More... | |
Functions | |
tool_dataprivacy_myprofile_navigation (tree $tree, $user, $iscurrentuser, $course) | |
Add nodes to myprofile page. | |
tool_dataprivacy_output_fragment_addcategory_form ($args) | |
Fragment to add a new category. | |
tool_dataprivacy_output_fragment_addpurpose_form ($args) | |
Fragment to add a new purpose. | |
tool_dataprivacy_output_fragment_context_form ($args) | |
Fragment to edit a context purpose and category. | |
tool_dataprivacy_output_fragment_contextlevel_form ($args) | |
Fragment to edit a contextlevel purpose and category. | |
tool_dataprivacy_output_fragment_selectcourses_form (array $args) | |
Fragment to add a select course. | |
tool_dataprivacy_pluginfile ($course, $cm, $context, $filearea, $args, $forcedownload, array $options=array()) | |
Serves any files associated with the data privacy settings. | |
xmldb_tool_dataprivacy_upgrade ($oldversion) | |
Function to upgrade tool_dataprivacy. | |
Variables | |
$callbacks | |
$capabilities | |
$definitions | |
$functions | |
$messageproviders | |
$observers | |
$plugin = 2024041600 | |
$tasks | |
$plugin | component = 'tool_dataprivacy' |
$plugin | version = 2024042200 |
tool_dataprivacy_myprofile_navigation | ( | tree | $tree, |
$user, | |||
$iscurrentuser, | |||
$course ) |
Add nodes to myprofile page.
tree | $tree | Tree object |
stdClass | $user | User object |
bool | $iscurrentuser | |
stdClass | $course | Course object |
bool |
coding_exception | |
dml_exception | |
moodle_exception |
tool_dataprivacy_output_fragment_addcategory_form | ( | $args | ) |
Fragment to add a new category.
array | $args | The fragment arguments. |
string | The rendered mform fragment. |
tool_dataprivacy_output_fragment_addpurpose_form | ( | $args | ) |
Fragment to add a new purpose.
array | $args | The fragment arguments. |
string | The rendered mform fragment. |
tool_dataprivacy_output_fragment_context_form | ( | $args | ) |
Fragment to edit a context purpose and category.
array | $args | The fragment arguments. |
string | The rendered mform fragment. |
tool_dataprivacy_output_fragment_contextlevel_form | ( | $args | ) |
Fragment to edit a contextlevel purpose and category.
array | $args | The fragment arguments. |
string | The rendered mform fragment. |
tool_dataprivacy_output_fragment_selectcourses_form | ( | array | $args | ) |
Fragment to add a select course.
array | $args | The fragment arguments. |
string | The rendered mform fragment. |
tool_dataprivacy_pluginfile | ( | $course, | |
$cm, | |||
$context, | |||
$filearea, | |||
$args, | |||
$forcedownload, | |||
array | $options = array() ) |
Serves any files associated with the data privacy settings.
stdClass | $course | Course object |
stdClass | $cm | Course module object |
context | $context | Context |
string | $filearea | File area for data privacy |
array | $args | Arguments |
bool | $forcedownload | If we are forcing the download |
array | $options | More options |
bool | Returns false if we don't find a file. |
xmldb_tool_dataprivacy_upgrade | ( | $oldversion | ) |
Function to upgrade tool_dataprivacy.
int | $oldversion | the version we are upgrading from |
bool | result |
$callbacks |
$definitions |
$messageproviders |
$observers |