protected function attached($presenter) { if ($presenter instanceof Presenter) { $this->loadState($presenter->popGlobalParameters($this->getUniqueId())); $this->onAnchor($this); } }