Class to display the result report in mod_h5pactivity.
More...
|
attempt | $attempt |
| the header attempt
|
|
int | $courseid |
| courseid necesary to present user picture
|
|
stdClass | $user |
| user record
|
|
Class to display the result report in mod_h5pactivity.
- Copyright
- 2020 Ferran Recio
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
mod_h5pactivity\output\reportresults::__construct |
( |
attempt |
$attempt, |
|
|
stdClass |
$user, |
|
|
int |
$courseid |
|
) |
| |
Constructor.
- Parameters
-
attempt | $attempt | the current attempt |
stdClass | $user | a user record |
int | $courseid | course id |
◆ export_for_template()
mod_h5pactivity\output\reportresults::export_for_template |
( |
renderer_base |
$output | ) |
|
Export this data so it can be used as the context for a mustache template.
- Parameters
-
- Return values
-
Implements templatable.
The documentation for this class was generated from the following file: