Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Attributes | List of all members
tool_templatelibrary\output\list_templates_page Class Reference

Class containing data for list_templates page. More...

Inheritance diagram for tool_templatelibrary\output\list_templates_page:
renderable templatable

Public Member Functions

 __construct (string $component='', string $search='')
 Template page constructor. More...
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template. More...
 

Protected Attributes

string $component
 $component The currently selected component
 
string $search
 $search The current search
 

Detailed Description

Class containing data for list_templates page.

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

Constructor & Destructor Documentation

◆ __construct()

tool_templatelibrary\output\list_templates_page::__construct ( string  $component = '',
string  $search = '' 
)

Template page constructor.

Parameters
string$component
string$search

Member Function Documentation

◆ export_for_template()

tool_templatelibrary\output\list_templates_page::export_for_template ( renderer_base  $output)

Export this data so it can be used as the context for a mustache template.

Return values
stdClass

Implements templatable.


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