Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | List of all members
pix_icon_font Class Reference
Inheritance diagram for pix_icon_font:
templatable pix_icon_fontawesome

Public Member Functions

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

Constructor & Destructor Documentation

◆ __construct()

pix_icon_font::__construct ( pix_icon  $pixicon)

Constructor.

Parameters
pix_icon$pixiconThe original icon

Member Function Documentation

◆ export_for_template()

pix_icon_font::export_for_template ( renderer_base  $output)

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 ( )

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: