See Release Notes
Long Term Support Release
Templates table.
Author: | Dmitrii Metelkin <dmitriim@catalyst-au.net> |
Copyright: | 2020 Catalyst IT |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 178 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
template_list:: (7 methods):
__construct()
col_name()
col_description()
col_enabled()
col_used()
col_actions()
display()
Class: template_list - X-Ref
Templates table.__construct($id = null) X-Ref |
Constructor param: string|null $id to be used by the table, autogenerated if null. |
col_name(template $data) X-Ref |
Display name column. param: \quizaccess_seb\template $data Template for this row. return: string |
col_description(template $data) X-Ref |
Display description column. param: \quizaccess_seb\template $data Template for this row. return: string |
col_enabled(template $data) X-Ref |
Display enabled column. param: \quizaccess_seb\template $data Template for this row. return: string |
col_used(template $data) X-Ref |
Display if a template is being used. param: \quizaccess_seb\template $data Template for this row. return: string |
col_actions(template $data) X-Ref |
Display actions column. param: \quizaccess_seb\template $data Template for this row. return: string |
display(array $records) X-Ref |
Sets the data of the table. param: \quizaccess_seb\template[] $records An array with records. |