Title input widget.
More...
Title input widget.
Definition at line 13 of file TitleInputWidget.php.
MediaWiki\Widget\TitleInputWidget::__construct |
( |
array |
$config = [] | ) |
|
- Parameters
-
array | $config | Configuration options |
int | null | $config,['namespace'] | Namespace to prepend to queries |
bool | null | $config,['relative'] | If a namespace is set, return a title relative to it (default: true) |
bool | null | $config,['suggestions'] | Display search suggestions (default: true) |
bool | null | $config,['highlightFirst'] | Automatically highlight the first result (default: true) |
bool | null | $config,['validateTitle'] | Whether the input must be a valid title (default: true) |
Definition at line 32 of file TitleInputWidget.php.
References MediaWiki\$config.
MediaWiki\Widget\TitleInputWidget::getConfig |
( |
& |
$config | ) |
|
MediaWiki\Widget\TitleInputWidget::getJavaScriptClassName |
( |
| ) |
|
|
protected |
MediaWiki\Widget\TitleInputWidget::$highlightFirst = null |
|
protected |
MediaWiki\Widget\TitleInputWidget::$namespace = null |
|
protected |
MediaWiki\Widget\TitleInputWidget::$relative = null |
|
protected |
MediaWiki\Widget\TitleInputWidget::$suggestions = null |
|
protected |
MediaWiki\Widget\TitleInputWidget::$validateTitle = null |
|
protected |
The documentation for this class was generated from the following file: