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

 $radioselectinput = null
 
 $textinput = null
 

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 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 ( )
protected

Definition at line 65 of file SizeFilterWidget.php.

Member Data Documentation

◆ $radioselectinput

MediaWiki\Widget\SizeFilterWidget::$radioselectinput = null
protected

Definition at line 17 of file SizeFilterWidget.php.

◆ $textinput

MediaWiki\Widget\SizeFilterWidget::$textinput = null
protected

Definition at line 18 of file SizeFilterWidget.php.


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