Page to display badge information, such as name, description or criteria.
More...
|
badge | $badge |
| class
|
|
badge | $badgeid = 0 |
| class
|
|
context | $context |
| The badge context.
|
|
Page to display badge information, such as name, description or criteria.
This information is unrelated to assertions.
- Copyright
- 2022 Sara Arjona (sara@.nosp@m.mood.nosp@m.le.co.nosp@m.m)
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
core_badges\output\badgeclass::__construct |
( |
int | $id | ) |
|
Initializes the badge to display.
- Parameters
-
int | $id | Id of the badge to display. |
◆ export_for_template()
core_badges\output\badgeclass::export_for_template |
( |
renderer_base | $output | ) |
|
Export this data so it can be used as the context for a mustache template.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file: