Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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.
 
 get_user ()
 Return the report user record.
 
 print ()
 Print the report visualization.
 

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: