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); } } } }