MediaWiki  master
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

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

Detailed Description

Select and input widget.

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

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.

Parameters
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 33 of file SizeFilterWidget.php.

References MediaWiki\Widget\SizeFilterWidget\$config, and wfMessage().

Member Function Documentation

◆ getConfig()

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

Definition at line 74 of file SizeFilterWidget.php.

◆ getJavaScriptClassName()

MediaWiki\Widget\SizeFilterWidget::getJavaScriptClassName ( )
protected

Definition at line 70 of file SizeFilterWidget.php.

Member Data Documentation

◆ $config

array MediaWiki\Widget\SizeFilterWidget::$config
protected

Definition at line 17 of file SizeFilterWidget.php.

Referenced by MediaWiki\Widget\SizeFilterWidget\__construct().

◆ $label

LabelWidget MediaWiki\Widget\SizeFilterWidget::$label
protected

Definition at line 19 of file SizeFilterWidget.php.

◆ $radioselectinput

RadioSelectInputWidget MediaWiki\Widget\SizeFilterWidget::$radioselectinput
protected

Definition at line 21 of file SizeFilterWidget.php.

◆ $textinput

TextInputWidget MediaWiki\Widget\SizeFilterWidget::$textinput
protected

Definition at line 23 of file SizeFilterWidget.php.


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