|
Moodle PHP Documentation 4.1
Moodle 4.1.19+ (Build: 20250711) (5f47dc23ffc)
|
Public Member Functions | |
| __construct (int $id) | |
| Initializes the badge to display. | |
| export_for_template (renderer_base $output) | |
| Export this data so it can be used as the context for a mustache template. | |
Public Attributes | |
| badge | $badge |
| class | |
| badge | $badgeid = 0 |
| class | |
| context | $context |
| The badge context. | |
| core_badges\output\badgeclass::__construct | ( | int | $id | ) |
Initializes the badge to display.
| int | $id | Id of the badge to display. |
| 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.
| renderer_base | $output | Renderer base. |
| stdClass |