/**
  * This method will be called when the component becomes attached to Form.
  * @param  IComponent
  * @return void
  */
 protected function attached($form)
 {
     parent::attached($form);
     $this->processAttaching($form);
 }
示例#2
0
 /**
  * @param $form
  */
 protected function attached($form)
 {
     parent::attached($form);
     if ($form instanceof Nette\Forms\Form) {
         $this->initialize($form);
     }
 }