Render markup for a font-awesome icon
Usage
// basic usage
$string = $adminThemeFramework->renderIcon(string $icon);
// usage with all arguments
$string = $adminThemeFramework->renderIcon(string $icon, bool $fw = false);
Arguments
Name | Type(s) | Description |
---|---|---|
icon | string | Name of icon to render, excluding the “fa-” prefix |
fw (optional) | bool | Specify true to make fixed width (default=false). |
Return value
string
AdminThemeFramework methods and properties
API reference based on ProcessWire core version 3.0.236