X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fhtmlform%2Ffields%2FHTMLCheckField.php;h=b080e183ff58c3b8ccaa5b508de985e742987635;hb=e968a1f431ad058dcb14adb2757bde5664b99a79;hp=a553839b09ded0ed75c163d1f333f65ddbf0d7b4;hpb=52f5f388a40e08a76b6c4efc52fedd1c65cc166d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/fields/HTMLCheckField.php b/includes/htmlform/fields/HTMLCheckField.php index a553839b09..b080e183ff 100644 --- a/includes/htmlform/fields/HTMLCheckField.php +++ b/includes/htmlform/fields/HTMLCheckField.php @@ -4,7 +4,7 @@ * A checkbox field */ class HTMLCheckField extends HTMLFormField { - function getInputHTML( $value ) { + public function getInputHTML( $value ) { global $wgUseMediaWikiUIEverywhere; if ( !empty( $this->mParams['invert'] ) ) { @@ -79,7 +79,7 @@ class HTMLCheckField extends HTMLFormField { * * @return string */ - function getLabel() { + public function getLabel() { if ( $this->mParent instanceof OOUIHTMLForm ) { return $this->mLabel; } elseif ( @@ -113,7 +113,7 @@ class HTMLCheckField extends HTMLFormField { * * @return bool */ - function loadDataFromRequest( $request ) { + public function loadDataFromRequest( $request ) { $invert = isset( $this->mParams['invert'] ) && $this->mParams['invert']; // GetCheck won't work like we want for checks.