Complex title input widget.
More...
|
| __construct (array $config=[]) |
| Like TitleInputWidget, but the namespace has to be input through a separate dropdown field.
|
|
| getConfig (&$config) |
|
Complex title input widget.
- Note
- 2011-2015 MediaWiki Widgets Team and others; see AUTHORS.txt
-
MIT
Definition at line 11 of file ComplexTitleInputWidget.php.
◆ __construct()
MediaWiki\Widget\ComplexTitleInputWidget::__construct |
( |
array |
$config = [] | ) |
|
Like TitleInputWidget, but the namespace has to be input through a separate dropdown field.
- Parameters
-
array | $config | Configuration options
- array $config['namespace'] Configuration for the NamespaceInputWidget dropdown with list of namespaces
- array $config['title'] Configuration for the TitleInputWidget text field -param array{namespace?:array,title?:array} $config
|
Definition at line 26 of file ComplexTitleInputWidget.php.
References MediaWiki\Widget\ComplexTitleInputWidget\$config.
◆ getConfig()
MediaWiki\Widget\ComplexTitleInputWidget::getConfig |
( |
& |
$config | ) |
|
◆ getJavaScriptClassName()
MediaWiki\Widget\ComplexTitleInputWidget::getJavaScriptClassName |
( |
| ) |
|
|
protected |
◆ $config
array MediaWiki\Widget\ComplexTitleInputWidget::$config |
|
protected |
◆ $namespace
MediaWiki\Widget\ComplexTitleInputWidget::$namespace = null |
|
protected |
◆ $title
MediaWiki\Widget\ComplexTitleInputWidget::$title = null |
|
protected |
The documentation for this class was generated from the following file: