original_string: public function import_preview_page($header, $data) {
  
          $html = $this->output->heading(get_string('importpreview', 'grades'));
  
          $table = new html_table();
          $table->head = $header;
          $table->data = $data;
          $html .= html_writer::table($table);
  
          return $html;
      }
code: public function import_preview_page($header, $data) {
  
          $html = $this->output->heading(get_string('importpreview', 'grades'));
  
          $table = new html_table();
          $table->head = $header;
          $table->data = $data;
          $html .= html_writer::table($table);
  
          return $html;
      }
code_tokens: public function import_preview_page ( $ header , $ data ) { $ html = $ this -> output -> heading ( get_string ( 'importpreview' , 'grades' ) ) ; $ table = new html_table ( ) ; $ table -> head = $ header ; $ table -> data = $ data ; $ html .= html_writer :: table ( $ table ) ; return $ html ; }
docstring: A renderer for the CSV file preview.
  
  @param array $header Column headers from the CSV file.
  @param array $data The rest of the data from the CSV file.
  @return string html to be displayed.
docstring_tokens: A renderer for the CSV file preview .