MediaWiki
1.28.0
|
Namespace input widget. More...
Public Member Functions | |
__construct (array $config=[]) | |
getConfig (&$config) | |
Protected Member Functions | |
getJavaScriptClassName () | |
Protected Attributes | |
$associated = null | |
$associatedLabel = null | |
$config | |
$invert = null | |
$invertLabel = null | |
$namespace | |
Namespace input widget.
Displays a dropdown box with the choice of available namespaces, plus two checkboxes to include associated namespace or to invert selection.
Definition at line 14 of file ComplexNamespaceInputWidget.php.
MediaWiki\Widget\ComplexNamespaceInputWidget::__construct | ( | array | $config = [] | ) |
array | $config | Configuration options |
array | $config,['namespace'] | Configuration for the NamespaceInputWidget dropdown with list of namespaces |
string | $config,['namespace']['includeAllValue'] | If specified, add an "all namespaces" option to the dropdown, and use this as the input value for it |
array | null | $config,['invert'] | Configuration for the "invert selection" CheckboxInputWidget. If null, the checkbox will not be generated. |
array | null | $config,['associated'] | Configuration for the "include associated namespace" CheckboxInputWidget. If null, the checkbox will not be generated. |
array | $config,['invertLabel'] | Configuration for the FieldLayout with label wrapping the "invert selection" checkbox |
string | $config,['invertLabel']['label'] | Label text for the label |
array | $config,['associatedLabel'] | Configuration for the FieldLayout with label wrapping the "include associated namespace" checkbox |
string | $config,['associatedLabel']['label'] | Label text for the label |
Definition at line 40 of file ComplexNamespaceInputWidget.php.
References MediaWiki\Widget\ComplexNamespaceInputWidget\$config.
MediaWiki\Widget\ComplexNamespaceInputWidget::getConfig | ( | & | $config | ) |
Definition at line 100 of file ComplexNamespaceInputWidget.php.
References MediaWiki\Widget\ComplexNamespaceInputWidget\$config.
|
protected |
Definition at line 96 of file ComplexNamespaceInputWidget.php.
|
protected |
Definition at line 18 of file ComplexNamespaceInputWidget.php.
|
protected |
Definition at line 19 of file ComplexNamespaceInputWidget.php.
|
protected |
Definition at line 16 of file ComplexNamespaceInputWidget.php.
Referenced by MediaWiki\Widget\ComplexNamespaceInputWidget\__construct(), and MediaWiki\Widget\ComplexNamespaceInputWidget\getConfig().
|
protected |
Definition at line 20 of file ComplexNamespaceInputWidget.php.
|
protected |
Definition at line 21 of file ComplexNamespaceInputWidget.php.
|
protected |
Definition at line 17 of file ComplexNamespaceInputWidget.php.