MediaWiki master
MediaWiki\Widget\NamespacesMultiselectWidget Class Reference

Widget to select multiple namespaces. More...

Inherits MediaWiki\Widget\TagMultiselectWidget.

Collaboration diagram for MediaWiki\Widget\NamespacesMultiselectWidget:

Public Member Functions

 __construct (array $config=[])
 
 getConfig (&$config)
 

Protected Member Functions

 getJavaScriptClassName ()
 

Protected Attributes

bool null $allowEditTags = null
 
- Protected Attributes inherited from MediaWiki\Widget\TagMultiselectWidget
bool $allowArbitrary
 
string[] null $allowedValues
 
array $input
 
string null $inputName
 
string null $inputPlaceholder
 
array $selectedArray
 
int null $tagLimit
 

Detailed Description

Widget to select multiple namespaces.

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

Definition at line 11 of file NamespacesMultiselectWidget.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Widget\NamespacesMultiselectWidget::__construct ( array $config = [])
Parameters
array$configConfiguration options
  • bool $config['allowEditTags'] Allow editing of the tags by clicking them

Reimplemented from MediaWiki\Widget\TagMultiselectWidget.

Definition at line 20 of file NamespacesMultiselectWidget.php.

Member Function Documentation

◆ getConfig()

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

◆ getJavaScriptClassName()

MediaWiki\Widget\NamespacesMultiselectWidget::getJavaScriptClassName ( )
protected

Reimplemented from MediaWiki\Widget\TagMultiselectWidget.

Definition at line 30 of file NamespacesMultiselectWidget.php.

Member Data Documentation

◆ $allowEditTags

bool null MediaWiki\Widget\NamespacesMultiselectWidget::$allowEditTags = null
protected

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