* A checkbox field
*/
class HTMLCheckField extends HTMLFormField {
- function getInputHTML( $value ) {
+ public function getInputHTML( $value ) {
global $wgUseMediaWikiUIEverywhere;
if ( !empty( $this->mParams['invert'] ) ) {
*
* @return string
*/
- function getLabel() {
+ public function getLabel() {
if ( $this->mParent instanceof OOUIHTMLForm ) {
return $this->mLabel;
} elseif (
*
* @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.