Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
tool_dataprivacy\output\categories Class Reference

Class containing the categories page renderable. More...

Inheritance diagram for tool_dataprivacy\output\categories:
tool_dataprivacy\output\crud_element renderable templatable

Public Member Functions

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

Protected Member Functions

 action_menu ($elementname, $exported, $persistent)
 Adds an action menu for the provided element. More...
 
 get_navigation ()
 Returns the top navigation buttons. More...
 

Protected Attributes

array $categories = []
 $categories All system categories.
 

Detailed Description

Class containing the categories page renderable.

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

Member Function Documentation

◆ 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
action_menu

◆ export_for_template()

tool_dataprivacy\output\categories::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

Implements templatable.

◆ get_navigation()

tool_dataprivacy\output\crud_element::get_navigation ( )
finalprotectedinherited

Returns the top navigation buttons.

Return values
action_link[]

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