Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
tool_admin_presets\output\presets_list Class Reference

Class containing data for admin_presets tool. More...

Inheritance diagram for tool_admin_presets\output\presets_list:

Public Member Functions

 __construct (array $presets, bool $showactions=false)
 Construct this renderable.
 
 export_for_template (renderer_base $output)
 Export the data.
 

Detailed Description

Class containing data for admin_presets tool.

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

Constructor & Destructor Documentation

◆ __construct()

tool_admin_presets\output\presets_list::__construct ( array $presets,
bool $showactions = false )

Construct this renderable.

Parameters
stdClass[]$presetsArray of existing admin presets.
bool$showactionsWhether actions should be displayed or not.

Member Function Documentation

◆ export_for_template()

tool_admin_presets\output\presets_list::export_for_template ( renderer_base $output)

Export the data.

Parameters
renderer_base$output
Return values
stdClass

Implements templatable.


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