예제 #1
0
파일: Fields.php 프로젝트: pckg/generic
 public function postSaveAction(Table $table)
 {
     $filters = $this->post()->get('fields', []);
     //$relationFilters = $this->post()->get('relations', []);
     $_SESSION['pckg']['dynamic']['view']['table_' . $table->id]['view']['fields'] = $filters;
     //$_SESSION['pckg']['dynamic']['view']['table_' . $table->id]['view']['relations'] = $relationFilters;
     return $this->response()->respondWithSuccessOrRedirect($table->getViewUrl());
 }
예제 #2
0
파일: GroupBy.php 프로젝트: pckg/generic
 public function postSaveAction(Table $table)
 {
     $groups = $this->post()->get('groups', []);
     $_SESSION['pckg']['dynamic']['view']['table_' . $table->id]['view']['group'] = $groups;
     return $this->response()->respondWithSuccessOrRedirect($table->getViewUrl());
 }