original_string: public function review_page(quiz_attempt $attemptobj, $slots, $page, $showall,
                                  $lastpage, mod_quiz_display_options $displayoptions,
                                  $summarydata) {
  
          $output = '';
          $output .= $this->header();
          $output .= $this->review_summary_table($summarydata, $page);
          $output .= $this->review_form($page, $showall, $displayoptions,
                  $this->questions($attemptobj, true, $slots, $page, $showall, $displayoptions),
                  $attemptobj);
  
          $output .= $this->review_next_navigation($attemptobj, $page, $lastpage, $showall);
          $output .= $this->footer();
          return $output;
      }
code: public function review_page(quiz_attempt $attemptobj, $slots, $page, $showall,
                                  $lastpage, mod_quiz_display_options $displayoptions,
                                  $summarydata) {
  
          $output = '';
          $output .= $this->header();
          $output .= $this->review_summary_table($summarydata, $page);
          $output .= $this->review_form($page, $showall, $displayoptions,
                  $this->questions($attemptobj, true, $slots, $page, $showall, $displayoptions),
                  $attemptobj);
  
          $output .= $this->review_next_navigation($attemptobj, $page, $lastpage, $showall);
          $output .= $this->footer();
          return $output;
      }
code_tokens: public function review_page ( quiz_attempt $ attemptobj , $ slots , $ page , $ showall , $ lastpage , mod_quiz_display_options $ displayoptions , $ summarydata ) { $ output = '' ; $ output .= $ this -> header ( ) ; $ output .= $ this -> review_summary_table ( $ summarydata , $ page ) ; $ output .= $ this -> review_form ( $ page , $ showall , $ displayoptions , $ this -> questions ( $ attemptobj , true , $ slots , $ page , $ showall , $ displayoptions ) , $ attemptobj ) ; $ output .= $ this -> review_next_navigation ( $ attemptobj , $ page , $ lastpage , $ showall ) ; $ output .= $ this -> footer ( ) ; return $ output ; }
docstring: Builds the review page
  
  @param quiz_attempt $attemptobj an instance of quiz_attempt.
  @param array $slots an array of intgers relating to questions.
  @param int $page the current page number
  @param bool $showall whether to show entire attempt on one page.
  @param bool $lastpage if true the current page is the last page.
  @param mod_quiz_display_options $displayoptions instance of mod_quiz_display_options.
  @param array $summarydata contains all table data
  @return $output containing html data.
docstring_tokens: Builds the review page