Output the override action menu for this activity.
More...
|
| __construct (int $cmid, moodle_url $currenturl, bool $canoverride=false) |
| Constructor for this object.
|
|
| export_for_template (\renderer_base $output) |
| Data for use with a template.
|
|
|
bool | $canoverride |
| Whether can add user or group override (depending on the override type).
|
|
int | $cmid |
| The course module ID.
|
|
moodle_url | $currenturl |
| The current url for the page.
|
|
Output the override action menu for this activity.
- Copyright
- 2021 Adrian Greeve adria.nosp@m.n@mo.nosp@m.odle..nosp@m.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
mod_lesson\output\override_action_menu::__construct |
( |
int | $cmid, |
|
|
moodle_url | $currenturl, |
|
|
bool | $canoverride = false ) |
Constructor for this object.
- Parameters
-
int | $cmid | The course module ID. |
moodle_url | $currenturl | The current url for the page. |
bool | $canoverride | Whether can add user or group override (depending on the override type). |
◆ create_override_select_menu()
mod_lesson\output\override_action_menu::create_override_select_menu |
( |
| ) |
|
|
protected |
Creates a select menu for the override options.
- Return values
-
url_select | The override select. |
◆ export_for_template()
mod_lesson\output\override_action_menu::export_for_template |
( |
\renderer_base | $output | ) |
|
Data for use with a template.
- Parameters
-
renderer_base | $output | renderer base output. |
- Return values
-
The documentation for this class was generated from the following file:
- mod/lesson/classes/output/override_action_menu.php