Lines: 1 to 42 of 42
<?php /** * Handles CSV export. * * @package WooCommerce/Export * @version 3.1.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } /* class WC_CSV_Exporter */ /* function WC_CSV_Exporter::prepare_data_to_export() – Prepare data that will be exported. */ /* function WC_CSV_Exporter::get_column_names() – Return an array of supported column names and ids. */ /* function WC_CSV_Exporter::set_column_names() – Set column names. */ /* function WC_CSV_Exporter::get_columns_to_export() – Return an array of columns to export. */ /* function WC_CSV_Exporter::set_columns_to_export() – Set columns to export. */ /* function WC_CSV_Exporter::is_column_exporting() – See if a column is to be exported or not. */ /* function WC_CSV_Exporter::get_default_column_names() – Return default columns. */ /* function WC_CSV_Exporter::export() – Do the export. */ /* function WC_CSV_Exporter::send_headers() – Set the export headers. */ /* function WC_CSV_Exporter::set_filename() – Set filename to export to. */ /* function WC_CSV_Exporter::get_filename() – Generate and return a filename. */ /* function WC_CSV_Exporter::send_content() – Set the export content. */ /* function WC_CSV_Exporter::get_csv_data() – Get CSV data for this export. */ /* function WC_CSV_Exporter::export_column_headers() – Export column headers in CSV format. */ /* function WC_CSV_Exporter::get_data_to_export() – Get data that will be exported. */ /* function WC_CSV_Exporter::export_rows() – Export rows in CSV format. */ /* function WC_CSV_Exporter::export_row() – Export rows to an array ready for the CSV. */ /* function WC_CSV_Exporter::get_limit() – Get batch limit. */ /* function WC_CSV_Exporter::set_limit() – Set batch limit. */ /* function WC_CSV_Exporter::get_total_exported() – Get count of records exported. */ /* function WC_CSV_Exporter::escape_data() – Escape a string to be used in a CSV context */ /* function WC_CSV_Exporter::format_data() – Format and escape data ready for the CSV file. */ /* function WC_CSV_Exporter::format_term_ids() – Format term ids to names. */ /* function WC_CSV_Exporter::implode_values() – Implode CSV cell values using commas by default, and wrapping values which contain the separator. */ /* function WC_CSV_Exporter::fputcsv() – Write to the CSV file, ensuring escaping works across versions of PHP. */