MediaWiki REL1_37
MediaWiki\Widget\ComplexTitleInputWidget Class Reference

Complex title input widget. More...

Inheritance diagram for MediaWiki\Widget\ComplexTitleInputWidget:
Collaboration diagram for MediaWiki\Widget\ComplexTitleInputWidget:

Public Member Functions

 __construct (array $config=[])
 Like TitleInputWidget, but the namespace has to be input through a separate dropdown field.
 
 getConfig (&$config)
 

Protected Member Functions

 getJavaScriptClassName ()
 

Protected Attributes

array $config
 
 $namespace = null
 
 $title = null
 

Detailed Description

Complex title input widget.

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

Definition at line 11 of file ComplexTitleInputWidget.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Widget\ComplexTitleInputWidget::__construct ( array  $config = [])

Like TitleInputWidget, but the namespace has to be input through a separate dropdown field.

Parameters
array$configConfiguration options
  • array $config['namespace'] Configuration for the NamespaceInputWidget dropdown with list of namespaces
  • array $config['title'] Configuration for the TitleInputWidget text field

Definition at line 26 of file ComplexTitleInputWidget.php.

References MediaWiki\Widget\ComplexTitleInputWidget\$config.

Member Function Documentation

◆ getConfig()

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

◆ getJavaScriptClassName()

MediaWiki\Widget\ComplexTitleInputWidget::getJavaScriptClassName ( )
protected

Definition at line 55 of file ComplexTitleInputWidget.php.

Member Data Documentation

◆ $config

array MediaWiki\Widget\ComplexTitleInputWidget::$config
protected

◆ $namespace

MediaWiki\Widget\ComplexTitleInputWidget::$namespace = null
protected

Definition at line 14 of file ComplexTitleInputWidget.php.

◆ $title

MediaWiki\Widget\ComplexTitleInputWidget::$title = null
protected

Definition at line 15 of file ComplexTitleInputWidget.php.


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