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

Class to help display H5P library management table. More...

Inheritance diagram for core_h5p\output\libraries:
renderable templatable

Public Member Functions

 __construct (\core_h5p\factory $factory, array $libraries)
 Constructor.
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template.
 

Protected Attributes

H5P $factory
 factory
 
H5P $libraries
 library list
 

Detailed Description

Class to help display H5P library management table.

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

Constructor & Destructor Documentation

◆ __construct()

core_h5p\output\libraries::__construct ( \core_h5p\factory $factory,
array $libraries )

Constructor.

Parameters
factory$factoryThe H5P factory
array$librariesarray of h5p libraries records

Member Function Documentation

◆ export_for_template()

core_h5p\output\libraries::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: