/**
  * @see Form::createElements()
  */
 public function createElements(array $formData)
 {
     $appConfigForm = new ApplicationConfigForm();
     $loggingConfigForm = new LoggingConfigForm();
     $this->addElements($appConfigForm->createElements($formData)->getElements());
     $this->addElements($loggingConfigForm->createElements($formData)->getElements());
 }
示例#2
0
 /**
  * @see Form::createElements()
  */
 public function createElements(array $formData)
 {
     $appConfigForm = new ApplicationConfigForm();
     $appConfigForm->createElements($formData);
     $appConfigForm->removeElement('global_module_path');
     $appConfigForm->removeElement('global_config_resource');
     $this->addElements($appConfigForm->getElements());
     $loggingConfigForm = new LoggingConfigForm();
     $this->addElements($loggingConfigForm->createElements($formData)->getElements());
 }