Esempio n. 1
0
 /**
  * Setup filter-by data (to be kept in the 'pagingInfo' object), based on
  * parameters that may exist in the request.
  *
  * @param Context $ctx
  */
 private function initFiltering($ctx)
 {
     $searchString = $ctx->getRequest()->getString('sSearch', '');
     $searchColumns = array();
     if (!empty($searchString)) {
         $searchColumns = $this->getSearchColumns();
     }
     $this->pagingInfo->setSearchString($searchString);
     $this->pagingInfo->setSearchColumns($searchColumns);
 }