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

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

Definition at line 32 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 65 of file SelectWithInputWidget.php.

Member Data Documentation

◆ $config

array MediaWiki\Widget\SelectWithInputWidget::$config
protected

◆ $dropdowninput

DropdownInputWidget MediaWiki\Widget\SelectWithInputWidget::$dropdowninput
protected

Definition at line 20 of file SelectWithInputWidget.php.

◆ $textinput

TextInputWidget MediaWiki\Widget\SelectWithInputWidget::$textinput
protected

Definition at line 18 of file SelectWithInputWidget.php.


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