original_string: protected function manipulateSubtableRequest($request)
      {
          $request['totals']        = 0;
          $request['expanded']      = 0;
          $request['filter_limit']  = -1;
          $request['filter_offset'] = 0;
          $request['filter_sort_column'] = '';
  
          $parametersToRemove = array('flat');
  
          if (!array_key_exists('idSubtable', $this->request)) {
              $parametersToRemove[] = 'idSubtable';
          }
  
          foreach ($parametersToRemove as $param) {
              if (array_key_exists($param, $request)) {
                  unset($request[$param]);
              }
          }
          return $request;
      }
code: protected function manipulateSubtableRequest($request)
      {
          $request['totals']        = 0;
          $request['expanded']      = 0;
          $request['filter_limit']  = -1;
          $request['filter_offset'] = 0;
          $request['filter_sort_column'] = '';
  
          $parametersToRemove = array('flat');
  
          if (!array_key_exists('idSubtable', $this->request)) {
              $parametersToRemove[] = 'idSubtable';
          }
  
          foreach ($parametersToRemove as $param) {
              if (array_key_exists($param, $request)) {
                  unset($request[$param]);
              }
          }
          return $request;
      }
code_tokens: protected function manipulateSubtableRequest ( $ request ) { $ request [ 'totals' ] = 0 ; $ request [ 'expanded' ] = 0 ; $ request [ 'filter_limit' ] = - 1 ; $ request [ 'filter_offset' ] = 0 ; $ request [ 'filter_sort_column' ] = '' ; $ parametersToRemove = array ( 'flat' ) ; if ( ! array_key_exists ( 'idSubtable' , $ this -> request ) ) { $ parametersToRemove [ ] = 'idSubtable' ; } foreach ( $ parametersToRemove as $ param ) { if ( array_key_exists ( $ param , $ request ) ) { unset ( $ request [ $ param ] ) ; } } return $ request ; }
docstring: Make sure to get all rows of the first level table.
  
  @param array $request
  @return array
docstring_tokens: Make sure to get all rows of the first level table .