protected function _initFields() { parent::_initFields(); $form = Kwc_Abstract_Form::createChildComponentForm($this->getClass(), "-linkTag"); if (count($form->fields)) { $fs = $this->add(new Kwf_Form_Container_FieldSet(trlKwf('Click on Preview Image') . ':')); $fs->add($form); } }
protected function _initFields() { parent::_initFields(); foreach ($this->fields as $f) { if ($f instanceof Kwf_Form_Container_FieldSet) { break; } } $this->fields->remove($f); }