A question bank column which gathers together all the actions into a menu.
Copyright: | 2019 The Open University |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 101 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
edit_menu_column:: (5 methods):
claim_menuable_columns()
get_title()
get_name()
display_content()
get_required_fields()
Class: edit_menu_column - X-Ref
A question bank column which gathers together all the actions into a menu.claim_menuable_columns($allcolumns) X-Ref |
Set up the list of actions that should be shown in the menu. This takes a list of column object (the list from a question bank view). It extracts all the ones that should go in the menu and stores them for later use. Then it returns the remaining columns. param: column_base[] $allcolumns a set of columns. return: column_base[] the non-action columns from the set. |
get_title() X-Ref |
No description |
get_name() X-Ref |
No description |
display_content($question, $rowclasses) X-Ref |
No description |
get_required_fields() X-Ref |
No description |