|
Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Class H5P activity attempts report. More...
Public Member Functions | |
| __construct (manager $manager, stdClass $user) | |
| Create a new participants report. More... | |
| get_attempt () | |
| Return the report attempt object. More... | |
| get_attempts () | |
| Return the current report attempts. More... | |
| get_scored () | |
| Return the current report attempts. More... | |
| get_user () | |
| Return the report user record. More... | |
| print () | |
| Print the report. More... | |
Public Attributes | |
| global | $CFG |
Class H5P activity attempts report.
| mod_h5pactivity\local\report\attempts::__construct | ( | manager | $manager, |
| stdClass | $user | ||
| ) |
Create a new participants report.
| manager | $manager | h5pactivity manager object |
| stdClass | $user | user record |
| mod_h5pactivity\local\report\attempts::get_attempt | ( | ) |
Return the report attempt object.
Attempts report has no specific attempt.
| attempt|null | the attempt object or null |
Implements mod_h5pactivity\local\report.
| mod_h5pactivity\local\report\attempts::get_attempts | ( | ) |
Return the current report attempts.
This method is used to render the report in both browser and mobile.
| attempts[] |
| mod_h5pactivity\local\report\attempts::get_scored | ( | ) |
Return the current report attempts.
This method is used to render the report in both browser and mobile.
| stdClass|null | a structure with
|
| mod_h5pactivity\local\report\attempts::get_user | ( | ) |
Return the report user record.
| stdClass|null | a user or null |
Implements mod_h5pactivity\local\report.
| mod_h5pactivity\local\report\attempts::print | ( | ) |
Print the report.
Implements mod_h5pactivity\local\report.