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

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

References title.

Member Function Documentation

◆ getConfig()

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

Definition at line 57 of file ComplexTitleInputWidget.php.

◆ getJavaScriptClassName()

MediaWiki\Widget\ComplexTitleInputWidget::getJavaScriptClassName ( )
protected

Definition at line 53 of file ComplexTitleInputWidget.php.

Member Data Documentation

◆ $namespace

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

Definition at line 13 of file ComplexTitleInputWidget.php.

◆ $title

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

Definition at line 14 of file ComplexTitleInputWidget.php.


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