Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
mod_h5pactivity\output\reportresults Class Reference

Class to display the result report in mod_h5pactivity. More...

Inheritance diagram for mod_h5pactivity\output\reportresults:
renderable templatable

Public Member Functions

 __construct (attempt $attempt, stdClass $user, int $courseid)
 Constructor.
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template.
 

Public Attributes

attempt $attempt
 the header attempt
 
int $courseid
 courseid necesary to present user picture
 
stdClass $user
 user record
 

Detailed Description

Class to display the result report in mod_h5pactivity.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

mod_h5pactivity\output\reportresults::__construct ( attempt $attempt,
stdClass $user,
int $courseid )

Constructor.

Parameters
attempt$attemptthe current attempt
stdClass$usera user record
int$courseidcourse id

Member Function Documentation

◆ export_for_template()

mod_h5pactivity\output\reportresults::export_for_template ( renderer_base $output)

Export this data so it can be used as the context for a mustache template.

Parameters
renderer_base$output
Return values
stdClass

Implements templatable.


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