MediaWiki  master
NamespacesMultiselectWidget.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Widget;
4 
12 
16  public function __construct( array $config = [] ) {
17  parent::__construct( $config );
18 
19  $this->addClasses( [ 'mw-widgets-namespacesMultiselectWidget' ] );
20  }
21 
22  protected function getJavaScriptClassName() {
23  return 'mw.widgets.NamespacesMultiselectWidget';
24  }
25 
26  public function getConfig( &$config ) {
27  return parent::getConfig( $config );
28  }
29 
30 }
MediaWiki\Widget\NamespacesMultiselectWidget\__construct
__construct(array $config=[])
Definition: NamespacesMultiselectWidget.php:16
MediaWiki\Widget\TagMultiselectWidget
Abstract base class for widgets to select multiple users, titles, namespaces, etc.
Definition: TagMultiselectWidget.php:14
MediaWiki\Widget\NamespacesMultiselectWidget
Widget to select multiple namespaces.
Definition: NamespacesMultiselectWidget.php:11
MediaWiki\Widget\NamespacesMultiselectWidget\getConfig
getConfig(&$config)
Definition: NamespacesMultiselectWidget.php:26
MediaWiki\Widget
Definition: CheckMatrixWidget.php:3
MediaWiki\$config
Config $config
Definition: MediaWiki.php:39
MediaWiki\Widget\NamespacesMultiselectWidget\getJavaScriptClassName
getJavaScriptClassName()
Definition: NamespacesMultiselectWidget.php:22