|
static | instance ($type=null) |
| Factory method. More...
|
|
static | is_valid_system ($system) |
| Validate the theme config setting. More...
|
|
static | reset_caches () |
| Clears the instance cache, for use in unit tests.
|
|
|
const | FONTAWESOME = '\\core\\output\\icon_system_fontawesome' |
| @const FONTAWESOME Default icon system.
|
|
const | STANDARD = '\\core\\output\\icon_system_standard' |
| @const STANDARD Default icon system.
|
|
◆ get_amd_name()
core\output\icon_system_fontawesome::get_amd_name |
( |
| ) |
|
◆ get_core_icon_map()
core\output\icon_system_fontawesome::get_core_icon_map |
( |
| ) |
|
◆ get_icon_name_map()
core\output\icon_system_fontawesome::get_icon_name_map |
( |
| ) |
|
Overridable function to get a mapping of all icons.
Default is to do no mapping.
Reimplemented from core\output\icon_system.
◆ instance()
static core\output\icon_system::instance |
( |
|
$type = null | ) |
|
|
staticfinalinherited |
Factory method.
- Parameters
-
string | $type | Either a specific type, or null to get the default type. |
- Return values
-
◆ is_valid_system()
static core\output\icon_system::is_valid_system |
( |
|
$system | ) |
|
|
staticfinalinherited |
Validate the theme config setting.
- Parameters
-
- Return values
-
◆ remap_icon_name()
core\output\icon_system::remap_icon_name |
( |
|
$iconname, |
|
|
|
$component |
|
) |
| |
|
finalinherited |
Overridable function to map the icon name to something else.
Default is to do no mapping. Map is cached in the singleton.
◆ render_pix_icon()
Render the pix icon according to the icon system.
- Parameters
-
- Return values
-
Reimplemented from core\output\icon_system.
The documentation for this class was generated from the following file: