Example #1
0
 /**
  * Compatibility. TODO remove in 4.4
  *
  * @param [type] $class [description]
  */
 function addClass($class)
 {
     if ($class == 'stacked' || $class == 'atk-form-stacked') {
         // there are no longer stacked forms, instead a separat etemplate must be used
         $this->template->loadTemplate('form/stacked');
         $this->getChunks();
         $this->template->trySet('_name', $this->getJSID());
         return $this;
     } else {
         return parent::addClass($class);
     }
 }