MediaWiki
1.30.2
|
Date-time input widget. More...
Public Member Functions | |
__construct (array $config=[]) | |
getConfig (&$config) | |
Protected Member Functions | |
getInputElement ( $config) | |
getJavaScriptClassName () | |
Protected Attributes | |
$clearable = null | |
$max = null | |
$min = null | |
$type = null | |
Date-time input widget.
Definition at line 15 of file DateTimeInputWidget.php.
MediaWiki\Widget\DateTimeInputWidget::__construct | ( | array | $config = [] | ) |
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 29 of file DateTimeInputWidget.php.
References MediaWiki\$config, and type.
MediaWiki\Widget\DateTimeInputWidget::getConfig | ( | & | $config | ) |
Definition at line 59 of file DateTimeInputWidget.php.
References MediaWiki\Widget\DateTimeInputWidget\$clearable, MediaWiki\$config, MediaWiki\Widget\DateTimeInputWidget\$max, MediaWiki\Widget\DateTimeInputWidget\$min, and MediaWiki\Widget\DateTimeInputWidget\$type.
|
protected |
Definition at line 73 of file DateTimeInputWidget.php.
References type.
|
protected |
Definition at line 55 of file DateTimeInputWidget.php.
|
protected |
Definition at line 20 of file DateTimeInputWidget.php.
Referenced by MediaWiki\Widget\DateTimeInputWidget\getConfig().
|
protected |
Definition at line 19 of file DateTimeInputWidget.php.
Referenced by MediaWiki\Widget\DateTimeInputWidget\getConfig().
|
protected |
Definition at line 18 of file DateTimeInputWidget.php.
Referenced by MediaWiki\Widget\DateTimeInputWidget\getConfig().
|
protected |
Definition at line 17 of file DateTimeInputWidget.php.
Referenced by MediaWiki\Widget\DateTimeInputWidget\getConfig().