AdminThemeFramework::renderIcon()

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

NameType(s)Description
$iconstring

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.251