protected function attached($presenter) { parent::attached($presenter); $this->sort = $this->defaultSort + $this->sort; $this->filters = $this->defaultFilters + $this->filters; $this->onAttached($this); }
protected function attached($presenter) { parent::attached($presenter); $this->onAttached($this); if ($this->id) { if (!$this->repository->find($this->id)) { throw new BadRequestException(); } } }
protected function attached($presenter) { parent::attached($presenter); $this->onAttached($this); }
protected function attached($presenter) { parent::attached($presenter); $this['table']->getTable()->setTranslator($this->presenter->context->translator->translator); }