MediaWiki  1.29.1
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. More...
 
 getConfig (&$config)
 

Protected Member Functions

 getJavaScriptClassName ()
 

Protected Attributes

 $dropdowninput = null
 
 $textinput = null
 

Detailed Description

Select and input widget.

Definition at line 16 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
boolean$config,['or']Configuration for whether the widget is dropdown AND input or dropdown OR input

Definition at line 30 of file SelectWithInputWidget.php.

References MediaWiki\$config.

Member Function Documentation

◆ getConfig()

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

Definition at line 59 of file SelectWithInputWidget.php.

References MediaWiki\$config.

◆ getJavaScriptClassName()

MediaWiki\Widget\SelectWithInputWidget::getJavaScriptClassName ( )
protected

Definition at line 55 of file SelectWithInputWidget.php.

Member Data Documentation

◆ $dropdowninput

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

Definition at line 19 of file SelectWithInputWidget.php.

◆ $textinput

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

Definition at line 18 of file SelectWithInputWidget.php.


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