|
| __construct (\context $context, moodle_url $activeurl, string $activetype, string $activeplugin) |
| The class constructor.
|
|
| export_for_template (\renderer_base $output) |
| Export the data for the mustache template.
|
|
| get_template () |
| Returns the template for the action bar.
|
|
|
string | $activeplugin |
| $activeplugin The plugin of the current gradebook page (grader, fullview, ...).
|
|
string | $activetype |
| The type of the current gradebook page (report, settings, import, export, scales, outcomes, letters).
|
|
moodle_url | $activeurl |
| $activeurl The URL that should be set as active in the URL selector element.
|
|
context | $context |
| $context The context object.
|
|
◆ __construct()
core_grades\output\general_action_bar::__construct |
( |
\context | $context, |
|
|
moodle_url | $activeurl, |
|
|
string | $activetype, |
|
|
string | $activeplugin ) |
The class constructor.
- Parameters
-
context | $context | The context object. |
moodle_url | $activeurl | The URL that should be set as active in the URL selector element. |
string | $activetype | The type of the current gradebook page (report, settings, import, export, scales, outcomes, letters). |
string | $activeplugin | The plugin of the current gradebook page (grader, fullview, ...). |
◆ export_for_template()
core_grades\output\general_action_bar::export_for_template |
( |
\renderer_base | $output | ) |
|
Export the data for the mustache template.
- Parameters
-
renderer_base | $output | renderer to be used to render the action bar elements. |
- Return values
-
◆ get_template()
core_grades\output\general_action_bar::get_template |
( |
| ) |
|
◆ $activetype
string core_grades\output\general_action_bar::$activetype |
|
protected |
The type of the current gradebook page (report, settings, import, export, scales, outcomes, letters).
$activetype
The documentation for this class was generated from the following file:
- grade/classes/output/general_action_bar.php