original_string: public function summary_page($attemptobj, $displayoptions) {
          $output = '';
          $output .= $this->header();
          $output .= $this->heading(format_string($attemptobj->get_quiz_name()));
          $output .= $this->heading(get_string('summaryofattempt', 'quiz'), 3);
          $output .= $this->summary_table($attemptobj, $displayoptions);
          $output .= $this->summary_page_controls($attemptobj);
          $output .= $this->footer();
          return $output;
      }
code: public function summary_page($attemptobj, $displayoptions) {
          $output = '';
          $output .= $this->header();
          $output .= $this->heading(format_string($attemptobj->get_quiz_name()));
          $output .= $this->heading(get_string('summaryofattempt', 'quiz'), 3);
          $output .= $this->summary_table($attemptobj, $displayoptions);
          $output .= $this->summary_page_controls($attemptobj);
          $output .= $this->footer();
          return $output;
      }
code_tokens: public function summary_page ( $ attemptobj , $ displayoptions ) { $ output = '' ; $ output .= $ this -> header ( ) ; $ output .= $ this -> heading ( format_string ( $ attemptobj -> get_quiz_name ( ) ) ) ; $ output .= $ this -> heading ( get_string ( 'summaryofattempt' , 'quiz' ) , 3 ) ; $ output .= $ this -> summary_table ( $ attemptobj , $ displayoptions ) ; $ output .= $ this -> summary_page_controls ( $ attemptobj ) ; $ output .= $ this -> footer ( ) ; return $ output ; }
docstring: Create the summary page
  
  @param quiz_attempt $attemptobj
  @param mod_quiz_display_options $displayoptions
docstring_tokens: Create the summary page