MediaWiki master
MediaWiki\Widget\SelectWithInputWidget Class Reference

Select and input widget. More...

Inherits Widget.

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

array $config
 
DropdownInputWidget $dropdowninput
 
TextInputWidget $textinput
 

Detailed Description

Select and input widget.

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

Definition at line 15 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
  • bool $config['required'] Configuration for whether the widget is a required input.

Definition at line 33 of file SelectWithInputWidget.php.

References MediaWiki\Widget\SelectWithInputWidget\$config.

Member Function Documentation

◆ getConfig()

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

◆ getJavaScriptClassName()

MediaWiki\Widget\SelectWithInputWidget::getJavaScriptClassName ( )
protected

Definition at line 66 of file SelectWithInputWidget.php.

Member Data Documentation

◆ $config

array MediaWiki\Widget\SelectWithInputWidget::$config
protected

◆ $dropdowninput

DropdownInputWidget MediaWiki\Widget\SelectWithInputWidget::$dropdowninput
protected

Definition at line 21 of file SelectWithInputWidget.php.

◆ $textinput

TextInputWidget MediaWiki\Widget\SelectWithInputWidget::$textinput
protected

Definition at line 19 of file SelectWithInputWidget.php.


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