original_string: protected function output_quiz_info_table($quizinfo) {
  
          $quizinfotable = new html_table();
          $quizinfotable->align = array('center', 'center');
          $quizinfotable->width = '60%';
          $quizinfotable->attributes['class'] = 'generaltable titlesleft';
          $quizinfotable->data = array();
  
          foreach ($quizinfo as $heading => $value) {
               $quizinfotable->data[] = array($heading, $value);
          }
  
          return html_writer::table($quizinfotable);
      }
code: protected function output_quiz_info_table($quizinfo) {
  
          $quizinfotable = new html_table();
          $quizinfotable->align = array('center', 'center');
          $quizinfotable->width = '60%';
          $quizinfotable->attributes['class'] = 'generaltable titlesleft';
          $quizinfotable->data = array();
  
          foreach ($quizinfo as $heading => $value) {
               $quizinfotable->data[] = array($heading, $value);
          }
  
          return html_writer::table($quizinfotable);
      }
code_tokens: protected function output_quiz_info_table ( $ quizinfo ) { $ quizinfotable = new html_table ( ) ; $ quizinfotable -> align = array ( 'center' , 'center' ) ; $ quizinfotable -> width = '60%' ; $ quizinfotable -> attributes [ 'class' ] = 'generaltable titlesleft' ; $ quizinfotable -> data = array ( ) ; foreach ( $ quizinfo as $ heading => $ value ) { $ quizinfotable -> data [ ] = array ( $ heading , $ value ) ; } return html_writer :: table ( $ quizinfotable ) ; }
docstring: Return HTML for table of overall quiz statistics.
  
  @param array $quizinfo as returned by {@link get_formatted_quiz_info_data()}.
  @return string the HTML.
docstring_tokens: Return HTML for table of overall quiz statistics .