You are here

public function TableWebformExporter::writeFooter in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformExporter/TableWebformExporter.php \Drupal\webform\Plugin\WebformExporter\TableWebformExporter::writeFooter()

Write footer to export.

Overrides WebformExporterBase::writeFooter

File

src/Plugin/WebformExporter/TableWebformExporter.php, line 107

Class

TableWebformExporter
Defines a HTML table exporter.

Namespace

Drupal\webform\Plugin\WebformExporter

Code

public function writeFooter() {
  $file_handle = $this->fileHandle;
  fwrite($file_handle, '</tbody>');
  fwrite($file_handle, '</table>');
  fwrite($file_handle, '</body>');
  fwrite($file_handle, '</html>');
}