Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
mod_assign\output\grading_app Class Reference

Grading app renderable. More...

Inheritance diagram for mod_assign\output\grading_app:
templatable renderable

Public Member Functions

 __construct ($userid, $groupid, $assignment)
 Constructor for this renderable.
 
 export_for_template (renderer_base $output)
 Export this class data as a flat list for rendering in a template.
 

Public Attributes

$assignment $assignment = null
 
$groupid $groupid = 0
 
array $participants = []
 
$userid $userid = 0
 

Detailed Description

Grading app renderable.

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

Constructor & Destructor Documentation

◆ __construct()

mod_assign\output\grading_app::__construct ( $userid,
$groupid,
$assignment )

Constructor for this renderable.

Parameters
int$useridThe user we will open the grading app too.
int$groupidIf groups are enabled this is the current course group.
assign$assignmentThe assignment class

Member Function Documentation

◆ export_for_template()

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

Export this class data as a flat list for rendering in a template.

Parameters
renderer_base$outputThe current page renderer.
Return values
stdClass- Flat list of exported data.

Implements templatable.

Member Data Documentation

◆ $assignment

$assignment mod_assign\output\grading_app::$assignment = null
  • The assignment instance.

◆ $groupid

$groupid mod_assign\output\grading_app::$groupid = 0
  • The initial group id.

◆ $participants

array mod_assign\output\grading_app::$participants = []
  • List of user records with extra fields.

◆ $userid

$userid mod_assign\output\grading_app::$userid = 0
  • The initial user id.

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