Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
|
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 |