Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
mod_h5pactivity\output\reportlink Class Reference

Class to help display report link in mod_h5pactivity. More...

Inheritance diagram for mod_h5pactivity\output\reportlink:
renderable templatable

Public Member Functions

 __construct (moodle_url $url, string $message)
 Constructor.
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template.
 

Public Attributes

H5P $message
 library list
 
H5P $url
 factory
 

Detailed Description

Class to help display report link in mod_h5pactivity.

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

Constructor & Destructor Documentation

◆ __construct()

mod_h5pactivity\output\reportlink::__construct ( moodle_url $url,
string $message )

Constructor.

Parameters
moodle_url$urlthe destination url
string$messagethe link message

Member Function Documentation

◆ export_for_template()

mod_h5pactivity\output\reportlink::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: