SilverWare\FontIcons\Interfaces\FontIconBackend
An interface for a font icon backend implementation.
- Author: Colin Tucker <colin@praxis.net.au>
- Copyright: 2017 Praxis Interactive
- License: https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
Synopsis
interface FontIconBackend
{
- // methods
- public string getTag()
- public string getClassName()
- public array getIcons()
- public array getGroupedIcons()
- public string getFieldTagName()
- public string getFieldClasses()
Methods
public
- getClassName() — Answers the class name for the given identifier.
- getFieldClasses() — Answers the classes to use for icons within the field.
- getFieldTagName() — Answers the tag name to use for icons within the field.
- getGroupedIcons() — Answers an array of icons grouped into their respective categories.
- getIcons() — Answers an associative array of icon IDs mapped to icon names.
- getTag() — Answers a font icon tag with the given class names.