Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
mod_assign\output\grading_actionmenu Class Reference

Output the grading actionbar for this activity. More...

Inheritance diagram for mod_assign\output\grading_actionmenu:

Public Member Functions

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

Protected Attributes

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'.
 

Detailed Description

Output the grading actionbar for this activity.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __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$cmidCourse module ID.
null | bool$submissionpluginenabledThis parameter has been deprecated since 4.5 and should not be used anymore.
null | int$submissioncountThis parameter has been deprecated since 4.5 and should not be used anymore.
assign | null$assignThe assign instance. If not provided, it will be loaded based on the cmid.
array$userinitialsThe user initials to filter the table by.

Member Function Documentation

◆ export_for_template()

mod_assign\output\grading_actionmenu::export_for_template ( \renderer_base $output)

Data to render in a template.

Parameters
renderer_base$outputrenderer base output.
Return values
arrayData to render.

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