Differences Between: [Versions 400 and 402] [Versions 401 and 402]
(no description)
File Size: | 111 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
overrides_actions:: (3 methods):
__construct()
create_add_button()
export_for_template()
Class: overrides_actions - X-Ref
Render overrides action in the quiz secondary navigation__construct(int $cmid, string $mode, bool $canedit, bool $addenabled) X-Ref |
overrides_action constructor. param: int $cmid The course module id. param: string $mode The mode passed for the overrides url. param: bool $canedit Does the user have capabilities to list overrides. param: bool $addenabled Whether the add button should be enabled or disabled. |
create_add_button(\renderer_base $output) X-Ref |
Create the add override button. param: \renderer_base $output an instance of the quiz renderer. return: \single_button the button, ready to reander. |
export_for_template(renderer_base $output) X-Ref |
No description |