MediaWiki  1.30.0
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. More...
 
 getConfig (&$config)
 

Protected Member Functions

 getJavaScriptClassName ()
 

Protected Attributes

 $namespace = null
 
 $title = null
 

Detailed Description

Complex title input widget.

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.

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\$config, and title.

Member Function Documentation

◆ getConfig()

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

Definition at line 62 of file ComplexTitleInputWidget.php.

References MediaWiki\$config.

◆ getJavaScriptClassName()

MediaWiki\Widget\ComplexTitleInputWidget::getJavaScriptClassName ( )
protected

Definition at line 58 of file ComplexTitleInputWidget.php.

Member Data Documentation

◆ $namespace

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

Definition at line 15 of file ComplexTitleInputWidget.php.

◆ $title

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

Definition at line 16 of file ComplexTitleInputWidget.php.


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