예제 #1
0
 protected function processIndex(ExtendedTable $table)
 {
     if ($this->filterForm && $this->filterForm->isSubmitted()) {
         $include = $this->filterForm->getInclude();
         $dataModel = $this->filterForm->getDataModel();
         $dataId = $this->filterForm->getDataId();
         $dataField = $this->filterForm->getDataField();
         $session = $this->getSession();
         $session->set(self::SESSION_FILTER_INCLUDE, $include);
         $session->set(self::SESSION_FILTER_DATA_MODEL, $dataModel);
         $session->set(self::SESSION_FILTER_DATA_ID, $dataId);
         $session->set(self::SESSION_FILTER_DATA_FIELD, $dataField);
         $this->response->setRedirect($this->request->getBasePath());
     }
     parent::processIndex($table);
 }