Class containing the data registry renderable.
More...
|
static | category_options ($categories, $includenotset=true, $includeinherit=true) |
| From a list of category persistents to a list of id => name categories.
|
|
static | get_blocks_branch (\context $coursecontext) |
| Gets the blocks branch for the provided course.
|
|
static | get_courses_branch (\context $catcontext) |
| Gets the courses branch for the provided category.
|
|
static | get_modules_branch (\context $coursecontext) |
| Gets the modules branch for the provided course.
|
|
static | purpose_options ($purposes, $includenotset=true, $includeinherit=true) |
| From a list of purpose persistents to a list of id => name purposes.
|
|
Class containing the data registry renderable.
- Copyright
- 2018 David Monllao
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
tool_dataprivacy\output\data_registry_page::__construct |
( |
| $defaultcontextlevel = false, |
|
|
| $defaultcontextid = false ) |
Constructor.
- Parameters
-
int | $defaultcontextlevel | |
int | $defaultcontextid | |
- Return values
-
◆ category_options()
static tool_dataprivacy\output\data_registry_page::category_options |
( |
| $categories, |
|
|
| $includenotset = true, |
|
|
| $includeinherit = true ) |
|
static |
From a list of category persistents to a list of id => name categories.
- Parameters
-
- Return values
-
◆ export_for_template()
tool_dataprivacy\output\data_registry_page::export_for_template |
( |
renderer_base | $output | ) |
|
Export this data so it can be used as the context for a mustache template.
- Parameters
-
- Return values
-
Implements templatable.
◆ get_blocks_branch()
static tool_dataprivacy\output\data_registry_page::get_blocks_branch |
( |
\context | $coursecontext | ) |
|
|
static |
Gets the blocks branch for the provided course.
- Parameters
-
- Return values
-
◆ get_courses_branch()
static tool_dataprivacy\output\data_registry_page::get_courses_branch |
( |
\context | $catcontext | ) |
|
|
static |
Gets the courses branch for the provided category.
- Parameters
-
- Return values
-
◆ get_modules_branch()
static tool_dataprivacy\output\data_registry_page::get_modules_branch |
( |
\context | $coursecontext | ) |
|
|
static |
Gets the modules branch for the provided course.
- Parameters
-
- Return values
-
◆ purpose_options()
static tool_dataprivacy\output\data_registry_page::purpose_options |
( |
| $purposes, |
|
|
| $includenotset = true, |
|
|
| $includeinherit = true ) |
|
static |
From a list of purpose persistents to a list of id => name purposes.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file: