Ejemplo n.º 1
0
 /**
  * Display a form to adjust security relevant settings
  */
 public function securityAction()
 {
     $form = new SecurityConfigForm();
     $form->setIniConfig($this->Config());
     $form->handleRequest();
     $this->view->form = $form;
     $this->view->tabs = $this->Module()->getConfigTabs()->activate('security');
 }
Ejemplo n.º 2
0
 public function createElements(array $formData)
 {
     $securityConfigForm = new SecurityConfigForm();
     $securityConfigForm->createElements($formData);
     $this->addElements($securityConfigForm->getElements());
 }