protected function filter_review_summary_table($summarydata, $page) {
        if ($page == 0) {
            return $summarydata;
        }

        // Only show some of summary table on subsequent pages.
        foreach ($summarydata as $key => $rowdata) {
            if (!in_array($key, array('user', 'attemptlist'))) {
                unset($summarydata[$key]);
            }
        }

        return $summarydata;
    }
protected function filter_review_summary_table($summarydata, $page) {
        if ($page == 0) {
            return $summarydata;
        }

        // Only show some of summary table on subsequent pages.
        foreach ($summarydata as $key => $rowdata) {
            if (!in_array($key, array('user', 'attemptlist'))) {
                unset($summarydata[$key]);
            }
        }

        return $summarydata;
    }
protected function filter_review_summary_table ( $ summarydata , $ page ) { if ( $ page == 0 ) { return $ summarydata ; } // Only show some of summary table on subsequent pages. foreach ( $ summarydata as $ key => $ rowdata ) { if ( ! in_array ( $ key , array ( 'user' , 'attemptlist' ) ) ) { unset ( $ summarydata [ $ key ] ) ; } } return $ summarydata ; }
Filters the summarydata array.

@param array $summarydata contains row data for table
@param int $page the current page number
@return $summarydata containing filtered row data
Filters the summarydata array .