◆ __construct()
mod_data\output\presets::__construct |
( |
manager | $manager, |
|
|
array | $presets, |
|
|
moodle_url | $formactionurl, |
|
|
bool | $manage = false ) |
The class constructor.
- Parameters
-
manager | $manager | The database manager |
array | $presets | The array containing the existing presets |
moodle_url | $formactionurl | The action url for the form |
bool | $manage | Whether the manage preset options should be displayed |
◆ export_for_template()
mod_data\output\presets::export_for_template |
( |
renderer_base | $output | ) |
|
Export the data for the mustache template.
- Parameters
-
renderer_base | $output | The renderer to be used to render the action bar elements. |
- Return values
-
Implements templatable.
The documentation for this class was generated from the following file:
- mod/data/classes/output/presets.php