Class to help display report link in mod_h5pactivity.
More...
|
activity_attempt | $attempt |
| attempt
|
|
int | $courseid |
| courseid necesary to present user picture
|
|
stdClass | $user |
| user record
|
|
Class to help display report link in mod_h5pactivity.
- Copyright
- 2020 Ferran Recio
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
mod_h5pactivity\output\attempt::__construct |
( |
activity_attempt | $attempt, |
|
|
stdClass | $user = null, |
|
|
int | $courseid = null ) |
Constructor.
- Parameters
-
activity_attempt | $attempt | the attempt object |
stdClass | $user | a user record (default null). |
int | $courseid | optional course id (default null). |
◆ export_for_template()
mod_h5pactivity\output\attempt::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: