Output the override actionbar for this activity.
More...
|
bool | $canaccessallgroups |
| Can all groups be accessed.
|
|
cm_info | $cm |
| course module information
|
|
moodle_url | $currenturl |
| The current url for this page.
|
|
array | $groups |
| Groups related to this activity.
|
|
Output the override actionbar 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_assign\output\override_actionmenu::__construct |
( |
moodle_url | $currenturl, |
|
|
cm_info | $cm ) |
Constructor for this action menu.
- Parameters
-
moodle_url | $currenturl | The current url for this page. |
cm_info | $cm | course module information. |
◆ export_for_template()
mod_assign\output\override_actionmenu::export_for_template |
( |
\renderer_base | $output | ) |
|
Data to be used in a template.
- Parameters
-
renderer_base | $output | renderer base output. |
- Return values
-
array | The data to be used in a template. |
◆ get_select_menu()
mod_assign\output\override_actionmenu::get_select_menu |
( |
| ) |
|
|
protected |
Create a select menu for overrides.
- Return values
-
url_select | A url select object. |
◆ show_groups()
mod_assign\output\override_actionmenu::show_groups |
( |
| ) |
|
|
protected |
Whether to show groups or not.
Assignments can be have group overrides if there are groups available in the course. There is no restriction related to the assignment group setting.
- Return values
-
◆ show_useroverride()
mod_assign\output\override_actionmenu::show_useroverride |
( |
| ) |
|
|
protected |
Whether to enable/disable user override button or not.
- Return values
-
The documentation for this class was generated from the following file:
- mod/assign/classes/output/override_actionmenu.php