You are here

function ViewsDataExportExporterDOC::eof in Views data export 7.4

Write the end of the export file.

Parameters

$file_handle: A PHP file handle to the export file.

Overrides ViewsDataExportExporter::eof

File

exporters/views_data_export_exporter_doc.inc, line 64

Class

ViewsDataExportExporterDOC
This exporter creates a DOC file readable by Microsoft Word. The content is an HTML table, as used by the old XLS export mechanism.

Code

function eof(&$file_handle, $row_count, $col_count) {
  $output = '      </tbody>
    </table>
  </body>
</html>';
  fwrite($file_handle, $output);
}