Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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:
renderable templatable

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: