Class containing the categories page renderable.  
 More...
|  | 
| array | $categories = [] | 
|  | $categories All system categories. 
 | 
|  | 
Class containing the categories page renderable. 
- Copyright
- 2018 David Monllao 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ __construct()
      
        
          | tool_dataprivacy\output\categories::__construct | ( |  | $categories | ) |  | 
      
 
Construct this renderable. 
- Parameters
- 
  
  
 
 
◆ 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\categories::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: