Class containing the purposes page renderable.
More...
|
array | $purposes = [] |
| $purposes All system purposes.
|
|
Class containing the purposes page renderable.
- Copyright
- 2018 David Monllao
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
tool_dataprivacy\output\purposes::__construct |
( |
|
$purposes | ) |
|
Construct this renderable.
- Parameters
-
tool_dataprivacy\purpose[] | $purposes | |
◆ action_menu()
tool_dataprivacy\output\crud_element::action_menu |
( |
|
$elementname, |
|
|
|
$exported, |
|
|
|
$persistent |
|
) |
| |
|
finalprotectedinherited |
Adds an action menu for the provided element.
- Parameters
-
string | $elementname | 'purpose' or 'category'. |
stdClass | $exported | |
core\persistent | $persistent | |
- Return values
-
◆ export_for_template()
tool_dataprivacy\output\purposes::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_navigation()
tool_dataprivacy\output\crud_element::get_navigation |
( |
| ) |
|
|
finalprotectedinherited |
Returns the top navigation buttons.
- Return values
-
The documentation for this class was generated from the following file: