MediaWiki master
MediaWiki\Widget\ComplexTitleInputWidget Class Reference

Complex title input widget. More...

Inherits Widget.

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.

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

Definition at line 13 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.

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 28 of file ComplexTitleInputWidget.php.

References MediaWiki\Widget\ComplexTitleInputWidget\$config.

Member Function Documentation

◆ getConfig()

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

◆ getJavaScriptClassName()

MediaWiki\Widget\ComplexTitleInputWidget::getJavaScriptClassName ( )

Definition at line 57 of file ComplexTitleInputWidget.php.

Member Data Documentation

◆ $config

array MediaWiki\Widget\ComplexTitleInputWidget::$config

◆ $namespace

MediaWiki\Widget\ComplexTitleInputWidget::$namespace = null

Definition at line 16 of file ComplexTitleInputWidget.php.

◆ $title

MediaWiki\Widget\ComplexTitleInputWidget::$title = null

Definition at line 17 of file ComplexTitleInputWidget.php.

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