'mw-htmlform-submit ' . $this->mClass, 'id' => $this->mID, ); if ( ! empty( $this->mParams[ 'disabled' ] ) ) { $attr[ 'disabled' ] = 'disabled'; } return Html::input( $this->mName, $value, $this->buttonType, $attr ); } protected function needsLabel() { return false; } /** * Button cannot be invalid * * @param $value String * @param $alldata Array * * @return Bool */ public function validate( $value, $alldata ) { return true; } }