\AwesomeIconExtension
An extension which allows LeftAndMain classes to make use of Font Awesome icons in the CMS interface.
Synopsis
class AwesomeIconExtension
extends LeftAndMainExtension
{
- // methods
- public void init()
- public string getAwesomeIconCSS()
- protected string getIconUnicode()
- protected string prefix()
Hierarchy
Extends
- LeftAndMainExtension
Methods
protected
- getIconUnicode() — Answers the unicode value for the icon with the given name.
- prefix() — Ensures the icon class name has the correct prefix.
public
- getAwesomeIconCSS() — Answers a string containing the custom CSS for the CMS interface.
- init() — Initialises the extension by generating the custom CSS for the icons.