Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Public Attributes | List of all members
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. More...
 
 export_data_for_external ()
 Get the export data form this report. More...
 
 get_attempt ()
 Return the report attempt object. More...
 
 get_user ()
 Return the report user record. More...
 
 print ()
 Print the report. More...
 

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: