Select and input widget.
More...
|
| __construct (array $config=[]) |
| A version of the SelectWithInputWidget, with or set to true.
|
|
| getConfig (&$config) |
|
Select and input widget.
- Note
- 2011-2017 MediaWiki Widgets Team and others; see AUTHORS.txt
-
MIT
Definition at line 14 of file SelectWithInputWidget.php.
◆ __construct()
MediaWiki\Widget\SelectWithInputWidget::__construct |
( |
array |
$config = [] | ) |
|
A version of the SelectWithInputWidget, with or
set to true.
- Parameters
-
array | $config | Configuration options
- array $config['textinput'] Configuration for the TextInputWidget
- array $config['dropdowninput'] Configuration for the DropdownInputWidget
- bool $config['or'] Configuration for whether the widget is dropdown AND input or dropdown OR input
- bool $config['required'] Configuration for whether the widget is a required input.
|
Definition at line 32 of file SelectWithInputWidget.php.
References MediaWiki\Widget\SelectWithInputWidget\$config.
◆ getConfig()
MediaWiki\Widget\SelectWithInputWidget::getConfig |
( |
& |
$config | ) |
|
◆ getJavaScriptClassName()
MediaWiki\Widget\SelectWithInputWidget::getJavaScriptClassName |
( |
| ) |
|
|
protected |
◆ $config
array MediaWiki\Widget\SelectWithInputWidget::$config |
|
protected |
◆ $dropdowninput
DropdownInputWidget MediaWiki\Widget\SelectWithInputWidget::$dropdowninput |
|
protected |
◆ $textinput
TextInputWidget MediaWiki\Widget\SelectWithInputWidget::$textinput |
|
protected |
The documentation for this class was generated from the following file: