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;
    }
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;
    }
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 ; }
Create the summary page

@param quiz_attempt $attemptobj
@param mod_quiz_display_options $displayoptions
Create the summary page