Пример #1
0
 protected function attached($presenter)
 {
     parent::attached($presenter);
     if ($presenter instanceof IPresenter) {
         $this->callStartup();
         if ($presenter->isAjax()) {
             foreach ($this->settings->getSnippets() as $snippet) {
                 $presenter->redrawControl($snippet);
             }
         }
     }
 }