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;
    }
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;
    }
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 ; }
Make sure to get all rows of the first level table.

@param array $request
@return array
Make sure to get all rows of the first level table .