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

Manage enabled backpacks renderable. More...

Inheritance diagram for core_badges\output\external_backpacks_page:
renderable

Public Member Functions

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

Protected Attributes

array $backpacks = []
 List the backpacks at site level.
 
moodle_url $url
 Badges backpacks URL.
 

Detailed Description

Manage enabled backpacks renderable.

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

Constructor & Destructor Documentation

◆ __construct()

core_badges\output\external_backpacks_page::__construct ( \moodle_url $url)

Constructor.

Parameters
moodle_url$url

Member Function Documentation

◆ export_for_template()

core_badges\output\external_backpacks_page::export_for_template ( \renderer_base $output)

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

Parameters
renderer_base$outputRenderer base.
Return values
stdClass

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