Grading app renderable.
More...
Grading app renderable.
- Since
- Moodle 3.1
- Copyright
- 2016 Damyon Wiese
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
mod_assign\output\grading_app::__construct |
( |
| $userid, |
|
|
| $groupid, |
|
|
| $assignment ) |
Constructor for this renderable.
- Parameters
-
int | $userid | The user we will open the grading app too. |
int | $groupid | If groups are enabled this is the current course group. |
assign | $assignment | The assignment class |
◆ 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
-
- Return values
-
stdClass | - Flat list of exported data. |
Implements templatable.
◆ $assignment
$assignment mod_assign\output\grading_app::$assignment = null |
◆ $groupid
$groupid mod_assign\output\grading_app::$groupid = 0 |
◆ $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 documentation for this class was generated from the following file:
- mod/assign/classes/output/grading_app.php