original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: 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
docstring_tokens: Filters the summarydata array .