Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
mod_quiz\output\overrides_actions Class Reference
Inheritance diagram for mod_quiz\output\overrides_actions:

Public Member Functions

 __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)
 

Constructor & Destructor Documentation

◆ __construct()

mod_quiz\output\overrides_actions::__construct ( int $cmid,
string $mode,
bool $canedit,
bool $addenabled )

overrides_action constructor.

Parameters
int$cmidThe course module id.
string$modeThe mode passed for the overrides url.
bool$caneditDoes the user have capabilities to list overrides.
bool$addenabledWhether the add button should be enabled or disabled.

Member Function Documentation

◆ create_add_button()

mod_quiz\output\overrides_actions::create_add_button ( \renderer_base $output)

Create the add override button.

Parameters
renderer_base$outputan instance of the quiz renderer.
Return values
single_buttonthe button, ready to reander.

The documentation for this class was generated from the following file: