Function CMS_Spreadsheet_Writer->output_and_exit

Definitions

sources/files_spreadsheets_write.php

  • Output the spreadsheet we've written and exit.If generating the spreadsheet used here is intensive, you shouldn't be using this, you should be using a task.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$filename ?ID_TEXT required parameter N/A N/A Filename we will be using (null: try and derive from $outfile_path, otherwise generate a .csv filename)
$is_tmp_file boolean False N/A N/A If the path we've been working with is a temporary file, and therefore needs to be deleted