Date-time input widget.
More...
Inherits InputWidget.
Date-time input widget.
- Note
- 2016 MediaWiki Widgets Team and others; see AUTHORS.txt
-
MIT
Definition at line 15 of file DateTimeInputWidget.php.
◆ __construct()
MediaWiki\Widget\DateTimeInputWidget::__construct |
( |
array | $config = [] | ) |
|
- Parameters
-
array | $config | Configuration options
- string $config['type'] 'date', 'time', or 'datetime'
- string $config['min'] Minimum date, time, or datetime
- string $config['max'] Maximum date, time, or datetime
- bool $config['clearable'] Whether to provide for blanking the value.
|
Definition at line 33 of file DateTimeInputWidget.php.
◆ getConfig()
MediaWiki\Widget\DateTimeInputWidget::getConfig |
( |
& | $config | ) |
|
◆ getInputElement()
MediaWiki\Widget\DateTimeInputWidget::getInputElement |
( |
| $config | ) |
|
|
protected |
◆ getJavaScriptClassName()
MediaWiki\Widget\DateTimeInputWidget::getJavaScriptClassName |
( |
| ) |
|
|
protected |
◆ $clearable
bool null MediaWiki\Widget\DateTimeInputWidget::$clearable = null |
|
protected |
◆ $max
string null MediaWiki\Widget\DateTimeInputWidget::$max = null |
|
protected |
◆ $min
string null MediaWiki\Widget\DateTimeInputWidget::$min = null |
|
protected |
◆ $type
string null MediaWiki\Widget\DateTimeInputWidget::$type = null |
|
protected |
The documentation for this class was generated from the following file: