예제 #1
0
파일: FioElement.php 프로젝트: svobodni/web
 /**
  * @return \Venne\Forms\Form
  */
 protected function createComponentForm()
 {
     $form = $this->setupFormFactory->invoke($this->getExtendedElement());
     $form->onSuccess[] = function () {
         $this->getPresenter()->redirect('refresh!');
     };
     return $form;
 }
예제 #2
0
 /**
  * @return \Venne\Forms\Form
  */
 protected function createComponentForm()
 {
     $form = $this->setupFormFactory->invoke($this->getExtendedElement());
     $form->onSuccess[] = $this->processForm;
     return $form;
 }