dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "DateTimeInputWidget: Only show calendar when focusing date components, not...
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
fields
/
HTMLCheckField.php
diff --git
a/includes/htmlform/fields/HTMLCheckField.php
b/includes/htmlform/fields/HTMLCheckField.php
index
a553839
..
b080e18
100644
(file)
--- a/
includes/htmlform/fields/HTMLCheckField.php
+++ b/
includes/htmlform/fields/HTMLCheckField.php
@@
-4,7
+4,7
@@
* A checkbox field
*/
class HTMLCheckField extends HTMLFormField {
* A checkbox field
*/
class HTMLCheckField extends HTMLFormField {
- function getInputHTML( $value ) {
+
public
function getInputHTML( $value ) {
global $wgUseMediaWikiUIEverywhere;
if ( !empty( $this->mParams['invert'] ) ) {
global $wgUseMediaWikiUIEverywhere;
if ( !empty( $this->mParams['invert'] ) ) {
@@
-79,7
+79,7
@@
class HTMLCheckField extends HTMLFormField {
*
* @return string
*/
*
* @return string
*/
- function getLabel() {
+
public
function getLabel() {
if ( $this->mParent instanceof OOUIHTMLForm ) {
return $this->mLabel;
} elseif (
if ( $this->mParent instanceof OOUIHTMLForm ) {
return $this->mLabel;
} elseif (
@@
-113,7
+113,7
@@
class HTMLCheckField extends HTMLFormField {
*
* @return bool
*/
*
* @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.
$invert = isset( $this->mParams['invert'] ) && $this->mParams['invert'];
// GetCheck won't work like we want for checks.