MediaWiki
1.30.2
|
Public Member Functions | |
__construct (array $config=[]) | |
getConfig (&$config) | |
Protected Member Functions | |
getJavaScriptClassName () | |
Protected Attributes | |
$highlightFirst = null | |
$namespace = null | |
$relative = null | |
$suggestions = null | |
$validateTitle = null | |
Title input widget.
Definition at line 13 of file TitleInputWidget.php.
MediaWiki\Widget\TitleInputWidget::__construct | ( | array | $config = [] | ) |
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) |
Reimplemented in MediaWiki\Widget\SearchInputWidget.
Definition at line 32 of file TitleInputWidget.php.
References MediaWiki\$config.
MediaWiki\Widget\TitleInputWidget::getConfig | ( | & | $config | ) |
Reimplemented in MediaWiki\Widget\SearchInputWidget.
Definition at line 63 of file TitleInputWidget.php.
References MediaWiki\$config, MediaWiki\Widget\TitleInputWidget\$highlightFirst, MediaWiki\Widget\TitleInputWidget\$namespace, MediaWiki\Widget\TitleInputWidget\$relative, MediaWiki\Widget\TitleInputWidget\$suggestions, and MediaWiki\Widget\TitleInputWidget\$validateTitle.
|
protected |
Reimplemented in MediaWiki\Widget\SearchInputWidget.
Definition at line 59 of file TitleInputWidget.php.
|
protected |
Definition at line 18 of file TitleInputWidget.php.
Referenced by MediaWiki\Widget\TitleInputWidget\getConfig().
|
protected |
Definition at line 15 of file TitleInputWidget.php.
Referenced by MediaWiki\Widget\TitleInputWidget\getConfig().
|
protected |
Definition at line 16 of file TitleInputWidget.php.
Referenced by MediaWiki\Widget\TitleInputWidget\getConfig().
|
protected |
Definition at line 17 of file TitleInputWidget.php.
Referenced by MediaWiki\Widget\TitleInputWidget\getConfig().
|
protected |
Definition at line 19 of file TitleInputWidget.php.
Referenced by MediaWiki\Widget\TitleInputWidget\getConfig().