EVF_CSV_Exporter Class.
Methods
- escape_data — Escape a string to be used in a CSV context
- export — Do the export.
- export_column_headers — Export column headers in CSV format.
- export_quiz_report — Export quiz report.
- export_row — Export rows to an array ready for the CSV.
- export_rows — Export rows in CSV format.
- format_data — Format and escape data ready for the CSV file.
- fputcsv — Write to the CSV file, ensuring escaping works across versions of PHP.
- get_column_names — Return an array of supported column names and ids.
- get_columns_to_export — Return an array of columns to export.
- get_csv_data — Get CSV data for this export.
- get_data_to_export — Get data that will be exported.
- get_default_column_names — Return default columns.
- get_delimiter — Return the delimiter to use in CSV file
- get_filename — Generate and return a filename.
- get_quiz_report — Get quiz report in CSV format.
- implode_values — Implode CSV cell values using commas by default, and wrapping values which contain the separator.
- is_column_exporting — See if a column is to be exported or not.
- prepare_data_to_export — Prepare data that will be exported.
- send_content — Set the export content.
- send_headers — Set the export headers.
- set_column_names — Set column names.
- set_columns_to_export — Set columns to export.
- set_filename — Set filename to export to.