Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Public Attributes | List of all members
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. More...
 
 export_for_template (renderer_base $output)
 Export this class data as a flat list for rendering in a template. More...
 

Public Attributes

$assignment $assignment = null
 
$groupid $groupid = 0
 
$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.

◆ $userid

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

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