Exemplo n.º 1
0
 protected function createComponentEditClanekForm()
 {
     $form = new UpravitClanekForm($this->redakce->nazvyRubrikProClanky(), $this->prava->getPristupy($this->modul), $this->clanek);
     $form->onSuccess[] = callback($this, 'editClanekFormSubmitted');
     return $form;
 }