return $field;
}
- function getHTML( $submitResult ) {
+ public function getHTML( $submitResult ) {
// This is required for VForm HTMLForms that use that style regardless
// of wgUseMediaWikiUIEverywhere (since they pre-date it).
// When wgUseMediaWikiUIEverywhere is removed, this should be consolidated
return $attribs;
}
- function wrapForm( $html ) {
+ public function wrapForm( $html ) {
// Always discard $this->mWrapperLegend
return Html::rawElement( 'form', $this->getFormAttributes(), $html );
}
- function getButtons() {
+ public function getButtons() {
$buttons = '';
if ( $this->mShowSubmit ) {