|
| | __construct (int $cmid, string $mode, bool $canedit, bool $addenabled) |
| | overrides_action constructor.
|
| |
| | create_add_button (\renderer_base $output) |
| | Create the add override button.
|
| |
|
| export_for_template (renderer_base $output) |
| |
◆ __construct()
| mod_quiz\output\overrides_actions::__construct |
( |
int | $cmid, |
|
|
string | $mode, |
|
|
bool | $canedit, |
|
|
bool | $addenabled ) |
overrides_action constructor.
- Parameters
-
| int | $cmid | The course module id. |
| string | $mode | The mode passed for the overrides url. |
| bool | $canedit | Does the user have capabilities to list overrides. |
| bool | $addenabled | Whether the add button should be enabled or disabled. |
◆ create_add_button()
| mod_quiz\output\overrides_actions::create_add_button |
( |
\renderer_base | $output | ) |
|
Create the add override button.
- Parameters
-
| renderer_base | $output | an instance of the quiz renderer. |
- Return values
-
| single_button | the button, ready to reander. |
The documentation for this class was generated from the following file:
- mod/quiz/classes/output/overrides_actions.php