|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Class H5P activity results report. More...
Public Member Functions | |
| __construct (manager $manager, stdClass $user, attempt $attempt) | |
| Create a new participants report. | |
| export_data_for_external () | |
| Get the export data form this report. | |
| get_attempt () | |
| Return the report attempt object. | |
| get_user () | |
| Return the report user record. | |
| print () | |
| Print the report. | |
Public Attributes | |
| global | $CFG |
Class H5P activity results report.
| mod_h5pactivity\local\report\results::__construct | ( | manager | $manager, |
| stdClass | $user, | ||
| attempt | $attempt ) |
Create a new participants report.
| manager | $manager | h5pactivity manager object |
| stdClass | $user | user record |
| attempt | $attempt | attempt object |
| mod_h5pactivity\local\report\results::export_data_for_external | ( | ) |
Get the export data form this report.
This method is used to render the report in mobile.
| mod_h5pactivity\local\report\results::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\results::get_user | ( | ) |
Return the report user record.
| stdClass|null | a user or null |
Implements mod_h5pactivity\local\report.
| mod_h5pactivity\local\report\results::print | ( | ) |
Print the report.
Implements mod_h5pactivity\local\report.