Differences Between: [Versions 400 and 401] [Versions 400 and 402] [Versions 400 and 403]
(no description)
File Size: | 117 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
presets:: (3 methods):
__construct()
export_for_template()
get_presets_table()
__construct(int $id, array $presets, moodle_url $formactionurl, bool $manage = false) X-Ref |
The class constructor. param: int $id The database module id param: array $presets The array containing the existing presets param: moodle_url $formactionurl The the action url for the form param: bool $manage Whether the manage preset options should be displayed |
export_for_template(\renderer_base $output) X-Ref |
Export the data for the mustache template. return: array param: \renderer_base $output The renderer to be used to render the action bar elements. |
get_presets_table() X-Ref |
Generates and returns the HTML for the presets table. return: string |