protected function getFormAttributes()
 {
     $attribs = parent::getFormAttributes();
     array_push($attribs['class'], 'mw-ui-vform', 'mw-ui-container');
     return $attribs;
 }
Esempio n. 2
0
 protected function getFormAttributes()
 {
     $attribs = parent::getFormAttributes();
     $attribs['class'] = ['mw-ui-vform', 'mw-ui-container', 'visualClear'];
     return $attribs;
 }
Esempio n. 3
0
 function getFormAttributes()
 {
     $attribs = parent::getFormAttributes();
     if (!isset($attribs['class'])) {
         $attribs['class'] = '';
     }
     if (is_string($attribs['class'])) {
         $attribs['class'] = trim($attribs['class'] . ' mw-htmlform-ooui');
     } else {
         $attribs['class'][] = 'mw-htmlform-ooui';
     }
     return $attribs;
 }