Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: