\FlatpickrField
Synopsis
class FlatpickrField
extends TextField
{
- // members
- protected $locale = NULL;
- protected array $config = ;
- protected $rangeInput;
- protected $disableDateFunctionName;
- private static array $default_config = ;
- // methods
- public void __construct()
- public void Type()
- public void extraClass()
- public void getConfig()
- public this setConfig()
- public void getEnableTime()
- public void setEnableTime()
- public void getNoCalendar()
- public void setNoCalendar()
- public void getAltInput()
- public void setAltInput()
- public void getMinDate()
- public void setMinDate()
- public void getMaxDate()
- public void setMaxDate()
- public void getDefaultDate()
- public void setDefaultDate()
- public void getDisabledDates()
- public FlatpickrField setDisabledDates()
- public string getLocale()
- public FlatpickrField setLocale()
- public FlatpickrField setHTML5()
- public string getRangeInput()
- public FlatpickrField setRangeInput()
- public string getDisableDateFunctionName()
- public FlatpickrField setDisableDateFunctionName()
- public void Field()
Hierarchy
Extends
- TextField
Members
private
- $default_config
protected
- $config
—
array
Config array - $disableDateFunctionName — string
- $locale
—
string
Override locale. If empty will default to current locale - $rangeInput — string
Methods
public
- __construct()
- Field()
- Type()
- extraClass()
- getAltInput()
- getConfig()
- getDefaultDate()
- getDisableDateFunctionName() — Get the value of disableDateFunctionName
- getDisabledDates()
- getEnableTime()
- getLocale() — Get locale to use for this field
- getMaxDate()
- getMinDate()
- getNoCalendar()
- getRangeInput() — Get range input
- setAltInput()
- setConfig()
- setDefaultDate()
- setDisableDateFunctionName() — Set the value of disableDateFunctionName
- setDisabledDates() — Disable: - specific dates (iso format) - range of dates (object with from/to keys)
- setEnableTime()
- setHTML5() — This is required (and ignored) because DBDate use this to scaffold the field
- setLocale() — Determines the presented/processed format based on locale defaults, instead of explicitly setting {@link setDateFormat()}.
- setMaxDate()
- setMinDate()
- setNoCalendar()
- setRangeInput() — Set range input