Select and input widget.
More...
Inherits Widget.
|
| __construct (array $config=[]) |
| RadioSelectInputWidget and a TextInputWidget to set minimum or maximum byte size.
|
|
| getConfig (&$config) |
|
Select and input widget.
- Note
- 2011-2018 MediaWiki Widgets Team and others; see AUTHORS.txt
-
MIT
Definition at line 16 of file SizeFilterWidget.php.
◆ __construct()
MediaWiki\Widget\SizeFilterWidget::__construct |
( |
array | $config = [] | ) |
|
RadioSelectInputWidget and a TextInputWidget to set minimum or maximum byte size.
- Parameters
-
array | $config | Configuration options
- array $config['textinput'] Configuration for the TextInputWidget
- array $config['radioselectinput'] Configuration for the RadioSelectWidget
- bool $config['selectMin'] Whether to select 'min', false would select 'max'
|
Definition at line 34 of file SizeFilterWidget.php.
References MediaWiki\Widget\SizeFilterWidget\$config, and wfMessage().
◆ getConfig()
MediaWiki\Widget\SizeFilterWidget::getConfig |
( |
& | $config | ) |
|
◆ getJavaScriptClassName()
MediaWiki\Widget\SizeFilterWidget::getJavaScriptClassName |
( |
| ) |
|
|
protected |
◆ $config
array MediaWiki\Widget\SizeFilterWidget::$config |
|
protected |
◆ $label
LabelWidget MediaWiki\Widget\SizeFilterWidget::$label |
|
protected |
◆ $radioselectinput
RadioSelectInputWidget MediaWiki\Widget\SizeFilterWidget::$radioselectinput |
|
protected |
◆ $textinput
TextInputWidget MediaWiki\Widget\SizeFilterWidget::$textinput |
|
protected |
The documentation for this class was generated from the following file: