Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Attributes | List of all members
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. More...
 
 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template. More...
 

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: