BucklesHusky\FontAwesomeIconPicker\Forms\FAPickerField
Synopsis
class FAPickerField
extends TextField
implements
Flushable
{
- // members
- private $iconAmount = NULL;
- protected $schemaDataType = FormField::SCHEMA_DATA_TYPE_TEXT;
- protected string $schemaComponent = 'FAPickerField';
- // methods
- public string extraClass()
- public array getIconList()
- public boolean getIsProVersion()
- public string getVersionNumber()
- public int getIconAmount()
- public static void flush()
- public void getSchemaDataDefaults()
- public void getAttributes()
Hierarchy
Extends
- SilverStripe\Forms\TextField
Implements
- SilverStripe\Core\Flushable
Tasks
Line | Task |
---|---|
160 | needs to send over version, icon total, and pro enabled |
Members
private
- $iconAmount
protected
- $schemaComponent
- $schemaDataType
Methods
public
- extraClass() — Compiles all CSS-classes. Optionally includes a "form-group--no-label" class if no title was set on the FormField.
- flush()
- getAttributes()
- getIconAmount() — gets the total amount of icons
- getIconList() — get a list of icons to add to the array to be displayed in the field
- getIsProVersion() — Determine if the iconpicker should use the pro version of fontawesome
- getSchemaDataDefaults()
- getVersionNumber() — get what version of fontawesome is being used