MediaWiki
1.30.0
|
Namespace input widget. More...
Public Member Functions | |
__construct (array $config=[]) | |
getConfig (&$config) | |
Protected Member Functions | |
getJavaScriptClassName () | |
getNamespaceDropdownOptions (array $config) | |
Protected Attributes | |
$includeAllValue = null | |
Namespace input widget.
Displays a dropdown box with the choice of available namespaces.
Definition at line 13 of file NamespaceInputWidget.php.
MediaWiki\Widget\NamespaceInputWidget::__construct | ( | array | $config = [] | ) |
array | $config | Configuration options |
string | $config,['includeAllValue'] | If specified, add a "all namespaces" option to the namespace dropdown, and use this as the input value for it |
number[] | $config,['exclude'] | List of namespace numbers to exclude from the selector |
Definition at line 23 of file NamespaceInputWidget.php.
References MediaWiki\$config, and MediaWiki\Widget\NamespaceInputWidget\getNamespaceDropdownOptions().
MediaWiki\Widget\NamespaceInputWidget::getConfig | ( | & | $config | ) |
Definition at line 60 of file NamespaceInputWidget.php.
References MediaWiki\$config, and MediaWiki\Widget\NamespaceInputWidget\$includeAllValue.
|
protected |
Definition at line 56 of file NamespaceInputWidget.php.
|
protected |
Definition at line 38 of file NamespaceInputWidget.php.
References MediaWiki\$config, $name, $options, as, Html\namespaceSelectorOptions(), and string.
Referenced by MediaWiki\Widget\NamespaceInputWidget\__construct().
|
protected |
Definition at line 15 of file NamespaceInputWidget.php.
Referenced by MediaWiki\Widget\NamespaceInputWidget\getConfig().