_gridFilterQueryFactory; } public function getQueryObjectDataSourceFactory(): IQueryObjectDataSourceFactory { return $this->_queryObjectDataSource; } public function getForm(): BaseFormInterface { return $this->_gridFilterFormFactory->create() ->setGrid($this); } public function getQueryObject(): QueryObjectInterface { return $this->_gridFilterQueryFactory->create(); } public function getSecurityUser(): User { return $this->_securityUser; } public function getTranslator(): \Nette\Localization\ITranslator { return $this->_translator; } public function getEntityManager(): EntityManager { return $this->_em; } /** * @throws AbortException */ public function redrawSidePanel(): never { $this->getPresenter()->payload->snippets[$this->getPresenter()->getSnippetId('sidePanel')] = $this['sidePanel']->renderToString(); $this->getPresenter()->sendPayload(); } public function handleEditAdvancedFilter(): void { $this->redrawSidePanel(); } public function getEmail(): string { return $this->_securityUser->getIdentity()->getEmail(); } }