@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * This is attached to the MediaWiki 'ParserFirstCallInit' hook. |
| 13 | 13 | * |
| 14 | 14 | * @param $parser Parser |
| 15 | - * @return bool |
|
| 15 | + * @return null|boolean |
|
| 16 | 16 | */ |
| 17 | 17 | public static function onSemanticFormsSelectSetup ( & $parser ) {
|
| 18 | 18 | |
@@ -126,6 +126,9 @@ |
||
| 126 | 126 | ] ); |
| 127 | 127 | } |
| 128 | 128 | |
| 129 | + /** |
|
| 130 | + * @param string $sep |
|
| 131 | + */ |
|
| 129 | 132 | private function getFormattedValuesFrom( $sep, $values ) { |
| 130 | 133 | |
| 131 | 134 | if ( strpos( $values, $sep ) === false ) { |
@@ -27,6 +27,12 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | private $mSelectField; |
| 29 | 29 | |
| 30 | + /** |
|
| 31 | + * @param string $inputNumber |
|
| 32 | + * @param string $curValue |
|
| 33 | + * @param boolean $inputName |
|
| 34 | + * @param boolean $disabled |
|
| 35 | + */ |
|
| 30 | 36 | public function __construct( $inputNumber, $curValue, $inputName, $disabled, $otherArgs ) { |
| 31 | 37 | parent::__construct( $inputNumber, $curValue, $inputName, $disabled, $otherArgs ); |
| 32 | 38 | |
@@ -69,8 +75,8 @@ discard block |
||
| 69 | 75 | * |
| 70 | 76 | * @param string $cur_value A single value or a list of values with separator |
| 71 | 77 | * @param string $input_name Name of the input including the template, e.g. Building[Part Of Site] |
| 72 | - * @param $is_mandatory |
|
| 73 | - * @param $is_disabled |
|
| 78 | + * @param boolean $is_mandatory |
|
| 79 | + * @param boolean $is_disabled |
|
| 74 | 80 | * @param string[] $other_args Array of other field parameters |
| 75 | 81 | * @return string |
| 76 | 82 | */ |
@@ -181,6 +181,9 @@ |
||
| 181 | 181 | return $this->mHasStaticValues; |
| 182 | 182 | } |
| 183 | 183 | |
| 184 | + /** |
|
| 185 | + * @param boolean $StaticValues |
|
| 186 | + */ |
|
| 184 | 187 | private function setHasStaticValues( $StaticValues ) {
|
| 185 | 188 | $this->mHasStaticValues = $StaticValues; |
| 186 | 189 | } |