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 "Make NumericUppercaseCollation use localized digit transforms"
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
fields
/
HTMLAutoCompleteSelectField.php
diff --git
a/includes/htmlform/fields/HTMLAutoCompleteSelectField.php
b/includes/htmlform/fields/HTMLAutoCompleteSelectField.php
index
76a88d5
..
0f86ee8
100644
(file)
--- a/
includes/htmlform/fields/HTMLAutoCompleteSelectField.php
+++ b/
includes/htmlform/fields/HTMLAutoCompleteSelectField.php
@@
-29,7
+29,7
@@
class HTMLAutoCompleteSelectField extends HTMLTextField {
protected $autocomplete = [];
class HTMLAutoCompleteSelectField extends HTMLTextField {
protected $autocomplete = [];
- function __construct( $params ) {
+
public
function __construct( $params ) {
$params += [
'require-match' => false,
];
$params += [
'require-match' => false,
];
@@
-63,7
+63,7
@@
class HTMLAutoCompleteSelectField extends HTMLTextField {
}
}
}
}
- function loadDataFromRequest( $request ) {
+
public
function loadDataFromRequest( $request ) {
if ( $request->getCheck( $this->mName ) ) {
$val = $request->getText( $this->mName . '-select', 'other' );
if ( $request->getCheck( $this->mName ) ) {
$val = $request->getText( $this->mName . '-select', 'other' );
@@
-80,7
+80,7
@@
class HTMLAutoCompleteSelectField extends HTMLTextField {
}
}
}
}
- function validate( $value, $alldata ) {
+
public
function validate( $value, $alldata ) {
$p = parent::validate( $value, $alldata );
if ( $p !== true ) {
$p = parent::validate( $value, $alldata );
if ( $p !== true ) {
@@
-116,7
+116,7
@@
class HTMLAutoCompleteSelectField extends HTMLTextField {
return $attribs;
}
return $attribs;
}
- function getInputHTML( $value ) {
+
public
function getInputHTML( $value ) {
$oldClass = $this->mClass;
$this->mClass = (array)$this->mClass;
$oldClass = $this->mClass;
$this->mClass = (array)$this->mClass;
@@
-170,7
+170,7
@@
class HTMLAutoCompleteSelectField extends HTMLTextField {
* @param string $value
* @return false
*/
* @param string $value
* @return false
*/
- function getInputOOUI( $value ) {
+
public
function getInputOOUI( $value ) {
// To be implemented, for now override the function from HTMLTextField
return false;
}
// To be implemented, for now override the function from HTMLTextField
return false;
}