MediaWiki REL1_33
MediaWiki\Widget\SelectWithInputWidget Class Reference

Select and input widget. More...

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

Public Member Functions

 __construct (array $config=[])
 A version of the SelectWithInputWidget, with or set to true.
 
 getConfig (&$config)
 

Protected Member Functions

 getJavaScriptClassName ()
 

Protected Attributes

 $dropdowninput = null
 
 $textinput = null
 

Detailed Description

Select and input widget.

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

Definition at line 14 of file SelectWithInputWidget.php.

Constructor & Destructor Documentation

◆ __construct()

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

A version of the SelectWithInputWidget, with or set to true.

Parameters
array$configConfiguration options
  • array $config['textinput'] Configuration for the TextInputWidget
  • array $config['dropdowninput'] Configuration for the DropdownInputWidget
  • bool $config['or'] Configuration for whether the widget is dropdown AND input or dropdown OR input

Definition at line 28 of file SelectWithInputWidget.php.

Member Function Documentation

◆ getConfig()

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

Definition at line 61 of file SelectWithInputWidget.php.

◆ getJavaScriptClassName()

MediaWiki\Widget\SelectWithInputWidget::getJavaScriptClassName ( )
protected

Definition at line 57 of file SelectWithInputWidget.php.

Member Data Documentation

◆ $dropdowninput

MediaWiki\Widget\SelectWithInputWidget::$dropdowninput = null
protected

Definition at line 17 of file SelectWithInputWidget.php.

◆ $textinput

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

Definition at line 16 of file SelectWithInputWidget.php.


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