Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
mod_h5pactivity\local\report\results Class Reference

Class H5P activity results report. More...

Inheritance diagram for mod_h5pactivity\local\report\results:
mod_h5pactivity\local\report

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
 

Detailed Description

Class H5P activity results report.

Since
Moodle 3.9

Constructor & Destructor Documentation

◆ __construct()

mod_h5pactivity\local\report\results::__construct ( manager $manager,
stdClass $user,
attempt $attempt )

Create a new participants report.

Parameters
manager$managerh5pactivity manager object
stdClass$useruser record
attempt$attemptattempt object

Member Function Documentation

◆ export_data_for_external()

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.

◆ get_attempt()

mod_h5pactivity\local\report\results::get_attempt ( )

Return the report attempt object.

Attempts report has no specific attempt.

Return values
attempt|nullthe attempt object or null

Implements mod_h5pactivity\local\report.

◆ get_user()

mod_h5pactivity\local\report\results::get_user ( )

Return the report user record.

Return values
stdClass|nulla user or null

Implements mod_h5pactivity\local\report.

◆ print()

mod_h5pactivity\local\report\results::print ( )

Print the report.

Implements mod_h5pactivity\local\report.


The documentation for this class was generated from the following file: