Ejemplo n.º 1
0
 /**
  * Initialisiert die Formularelemente.
  *
  * Setzt die Legende für das Unterformular.
  */
 public function init()
 {
     parent::init();
     $this->setLegend('admin_document_section_subject' . $this->__subjectType);
 }
Ejemplo n.º 2
0
 public function init()
 {
     parent::init();
     $this->setLegend('admin_document_section_files');
     $this->getDecorator('FieldsetWithButtons')->setLegendButtons(array(self::ELEMENT_IMPORT, self::ELEMENT_ADD));
 }
Ejemplo n.º 3
0
 public function init()
 {
     parent::init();
     $this->setDecorators(array('FormElements', array(array('fieldsWrapper' => 'HtmlTag'), array('tag' => 'div', 'class' => 'fields-wrapper')), array('FormErrors', array('placement' => 'prepend', 'ignoreSubForms' => true, 'onlyCustomFormErrors' => true, 'markupListStart' => '<div class="form-errors">', 'markupListItemStart' => '', 'markupListItemEnd' => '', 'markupListEnd' => '</div>')), array('FieldsetWithButtons', array('legendButtons' => self::ELEMENT_ADD)), array(array('divWrapper' => 'HtmlTag'), array('tag' => 'div', 'class' => 'subform'))));
 }