MediaWiki  REL1_31
MediaWiki\Widget\SizeFilterWidget Class Reference

Select and input widget. More...

Inheritance diagram for MediaWiki\Widget\SizeFilterWidget:
Collaboration diagram for MediaWiki\Widget\SizeFilterWidget:

Public Member Functions

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

Protected Member Functions

 getJavaScriptClassName ()

Protected Attributes

 $radioselectinput = null
 $textinput = null

Detailed Description

Select and input widget.

2011-2018 MediaWiki Widgets Team and others; see AUTHORS.txt
The MIT License (MIT); see LICENSE.txt

Definition at line 15 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 $congif['selectMin'] Whether to select 'min', false would select 'max'

Definition at line 28 of file SizeFilterWidget.php.

References MediaWiki\$config, text, and wfMessage().

Member Function Documentation

◆ getConfig()

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

Definition at line 69 of file SizeFilterWidget.php.

References MediaWiki\$config.

◆ getJavaScriptClassName()

MediaWiki\Widget\SizeFilterWidget::getJavaScriptClassName ( )

Definition at line 65 of file SizeFilterWidget.php.

Member Data Documentation

◆ $radioselectinput

MediaWiki\Widget\SizeFilterWidget::$radioselectinput = null

Definition at line 17 of file SizeFilterWidget.php.

◆ $textinput

MediaWiki\Widget\SizeFilterWidget::$textinput = null

Definition at line 18 of file SizeFilterWidget.php.

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