Date-time input widget.
More...
Inherits OOUI\InputWidget.
Date-time input widget.
- Note
- 2016 MediaWiki Widgets Team and others; see AUTHORS.txt
-
MIT
Definition at line 13 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 27 of file DateTimeInputWidget.php.
◆ getConfig()
MediaWiki\Widget\DateTimeInputWidget::getConfig |
( |
& | $config | ) |
|
◆ getInputElement()
MediaWiki\Widget\DateTimeInputWidget::getInputElement |
( |
| $config | ) |
|
|
protected |
◆ getJavaScriptClassName()
MediaWiki\Widget\DateTimeInputWidget::getJavaScriptClassName |
( |
| ) |
|
|
protected |
◆ $clearable
MediaWiki\Widget\DateTimeInputWidget::$clearable = null |
|
protected |
◆ $max
MediaWiki\Widget\DateTimeInputWidget::$max = null |
|
protected |
◆ $min
MediaWiki\Widget\DateTimeInputWidget::$min = null |
|
protected |
◆ $type
MediaWiki\Widget\DateTimeInputWidget::$type = null |
|
protected |
The documentation for this class was generated from the following file: