MediaWiki master
MediaWiki\Widget\SizeFilterWidget Class Reference

Select and input widget. More...

Inherits Widget.

Collaboration diagram for MediaWiki\Widget\SizeFilterWidget:

Public Member Functions

 __construct (array $config=[])
 RadioSelectInputWidget and a TextInputWidget to set minimum or maximum byte size.
 getConfig (&$config)

Protected Member Functions

 getJavaScriptClassName ()

Protected Attributes

array $config
LabelWidget $label
RadioSelectInputWidget $radioselectinput
TextInputWidget $textinput

Detailed Description

Select and input widget.

2011-2018 MediaWiki Widgets Team and others; see AUTHORS.txt

Definition at line 16 of file SizeFilterWidget.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Widget\SizeFilterWidget::__construct ( array $config = [])

RadioSelectInputWidget and a TextInputWidget to set minimum or maximum byte size.

array$configConfiguration 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().

Member Function Documentation

◆ getConfig()

MediaWiki\Widget\SizeFilterWidget::getConfig ( & $config)

Definition at line 75 of file SizeFilterWidget.php.

References MediaWiki\Widget\SizeFilterWidget\$config.

◆ getJavaScriptClassName()

MediaWiki\Widget\SizeFilterWidget::getJavaScriptClassName ( )

Definition at line 71 of file SizeFilterWidget.php.

Member Data Documentation

◆ $config

array MediaWiki\Widget\SizeFilterWidget::$config

◆ $label

LabelWidget MediaWiki\Widget\SizeFilterWidget::$label

Definition at line 20 of file SizeFilterWidget.php.

◆ $radioselectinput

RadioSelectInputWidget MediaWiki\Widget\SizeFilterWidget::$radioselectinput

Definition at line 22 of file SizeFilterWidget.php.

◆ $textinput

TextInputWidget MediaWiki\Widget\SizeFilterWidget::$textinput

Definition at line 24 of file SizeFilterWidget.php.

The documentation for this class was generated from the following file: