Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
pix_icon_fontawesome Class Reference

Data structure representing an icon subtype. More...

Inheritance diagram for pix_icon_fontawesome:

Public Member Functions

 export_for_template (renderer_base $output)
 Export this data so it can be used as the context for a mustache template.
 
 is_mapped ()
 Return true if this pix_icon was successfully mapped to an icon font.
 

Detailed Description

Data structure representing an icon subtype.

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

Member Function Documentation

◆ export_for_template()

pix_icon_font::export_for_template ( renderer_base $output)
inherited

Export this data so it can be used as the context for a mustache template.

Parameters
renderer_base$outputUsed to do a final render of any components that need to be rendered for export.
Return values
array

Implements templatable.

◆ is_mapped()

pix_icon_font::is_mapped ( )
inherited

Return true if this pix_icon was successfully mapped to an icon font.

Return values
bool

The documentation for this class was generated from the following file: