X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fwidget%2FComplexNamespaceInputWidget.php;h=dc95e75ef6ed22e680a82d4428cd8425f0f7c68c;hb=fdca49759b431252226dfc724ed8080303245db1;hp=21c57099fbc95d87532c54ab52df46a5a418d30d;hpb=266dbe55e8c752654a1041a77063ae5d389c2f75;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/widget/ComplexNamespaceInputWidget.php b/includes/widget/ComplexNamespaceInputWidget.php index 21c57099fb..dc95e75ef6 100644 --- a/includes/widget/ComplexNamespaceInputWidget.php +++ b/includes/widget/ComplexNamespaceInputWidget.php @@ -22,19 +22,19 @@ class ComplexNamespaceInputWidget extends \OOUI\Widget { /** * @param array $config Configuration options - * @param array $config['namespace'] Configuration for the NamespaceInputWidget dropdown with list - * of namespaces - * @param string $config['namespace']['includeAllValue'] If specified, add a "all namespaces" - * option to the dropdown, and use this as the input value for it - * @param array|null $config['invert'] Configuration for the "invert selection" CheckboxInputWidget. If - * null, the checkbox will not be generated. + * @param array $config['namespace'] Configuration for the NamespaceInputWidget + * dropdown with list of namespaces + * @param string $config['namespace']['includeAllValue'] If specified, + * add an "all namespaces" option to the dropdown, and use this as the input value for it + * @param array|null $config['invert'] Configuration for the "invert selection" + * CheckboxInputWidget. If null, the checkbox will not be generated. * @param array|null $config['associated'] Configuration for the "include associated namespace" - * CheckboxInputWidget. If null, the checkbox will not be generated. - * @param array $config['invertLabel'] Configuration for the FieldLayout with label wrapping the - * "invert selection" checkbox + * CheckboxInputWidget. If null, the checkbox will not be generated. + * @param array $config['invertLabel'] Configuration for the FieldLayout with label + * wrapping the "invert selection" checkbox * @param string $config['invertLabel']['label'] Label text for the label - * @param array $config['associatedLabel'] Configuration for the FieldLayout with label wrapping - * the "include associated namespace" checkbox + * @param array $config['associatedLabel'] Configuration for the FieldLayout with label + * wrapping the "include associated namespace" checkbox * @param string $config['associatedLabel']['label'] Label text for the label */ public function __construct( array $config = array() ) { @@ -102,7 +102,16 @@ class ComplexNamespaceInputWidget extends \OOUI\Widget { $config, array_intersect_key( $this->config, - array_fill_keys( array( 'namespace', 'invert', 'invertLabel', 'associated', 'associatedLabel' ), true ) + array_fill_keys( + array( + 'namespace', + 'invert', + 'invertLabel', + 'associated', + 'associatedLabel' + ), + true + ) ) ); return parent::getConfig( $config );