Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Public Attributes | List of all members
mod_h5pactivity\local\report Interface Reference

Interface for any mod_h5pactivity report. More...

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

Public Member Functions

 get_attempt ()
 Return the report attempt object. More...
 
 get_user ()
 Return the report user record. More...
 
 print ()
 Print the report visualization. More...
 

Public Attributes

global $CFG
 

Detailed Description

Interface for any mod_h5pactivity report.

Since
Moodle 3.9

Member Function Documentation

◆ get_attempt()

mod_h5pactivity\local\report::get_attempt ( )

Return the report attempt object.

Return values
attempt|nullthe attempt object or null

Implemented in mod_h5pactivity\local\report\attempts, mod_h5pactivity\local\report\participants, and mod_h5pactivity\local\report\results.

◆ get_user()

mod_h5pactivity\local\report::get_user ( )

Return the report user record.

Return values
stdClass|nulla user or null

Implemented in mod_h5pactivity\local\report\attempts, mod_h5pactivity\local\report\participants, and mod_h5pactivity\local\report\results.

◆ print()

mod_h5pactivity\local\report::print ( )

The documentation for this interface was generated from the following files: