Output the grading actionbar for this activity.
More...
|
| __construct (int $cmid, ?bool $submissionpluginenabled=null, ?int $submissioncount=null, ?assign $assign=null, array $userinitials=[]) |
| Constructor for this object.
|
|
| export_for_template (\renderer_base $output) |
| Data to render in a template.
|
|
|
assign assign | $assign |
| The assign instance.
|
|
int int | $cmid |
| Course module ID.
|
|
bool bool | $showdownload |
| If there are submissions to download.
|
|
int int | $submissioncount |
| The number of submissions made.
|
|
bool bool | $submissionpluginenabled |
| If any submission plugins are enabled.
|
|
array array | $userinitials |
| Applied user initials filters, containing 'firstname' and 'lastname'.
|
|
Output the grading 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\grading_actionmenu::__construct |
( |
int | $cmid, |
|
|
?bool | $submissionpluginenabled = null, |
|
|
?int | $submissioncount = null, |
|
|
?assign | $assign = null, |
|
|
array | $userinitials = [] ) |
Constructor for this object.
- Parameters
-
int | $cmid | Course module ID. |
null | bool | $submissionpluginenabled | This parameter has been deprecated since 4.5 and should not be used anymore. |
null | int | $submissioncount | This parameter has been deprecated since 4.5 and should not be used anymore. |
assign | null | $assign | The assign instance. If not provided, it will be loaded based on the cmid. |
array | $userinitials | The user initials to filter the table by. |
◆ export_for_template()
mod_assign\output\grading_actionmenu::export_for_template |
( |
\renderer_base | $output | ) |
|
Data to render in a template.
- Parameters
-
renderer_base | $output | renderer base output. |
- Return values
-
The documentation for this class was generated from the following file:
- mod/assign/classes/output/grading_actionmenu.php