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

An issued badges for badge.php page. More...

Inheritance diagram for core_badges\output\issued_badge:
renderable

Public Member Functions

 __construct ($hash)
 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 $badgeclass
 class
 
badge $badgeid = 0
 class
 
unique $hash
 hash identifying the issued badge
 
issued $issued
 badge
 
badge $recipient
 recipient
 
badge $visible = 0
 visibility to others
 

Detailed Description

An issued badges for badge.php page.

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

Constructor & Destructor Documentation

◆ __construct()

core_badges\output\issued_badge::__construct ( $hash)

Initializes the badge to display.

Parameters
string$hashIssued badge hash

Member Function Documentation

◆ export_for_template()

core_badges\output\issued_badge::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: