Backend\Models\ExportModel\EncodesCsv

Overview

EncodesCsv format for export


Public Methods

public getFormatEncodingOptions()

public getFormatEncodingOptions(): array 

getFormatEncodingOptions returns all available encodings values from the localization config

Protected Methods

protected encodeArrayValueForCsv()

protected encodeArrayValueForCsv($data, $delimiter = '|'): void

protected processExportDataAsCsv()

protected processExportDataAsCsv($columns, $results, $options): void

processExportDataAsCsv returns the export data as a CSV string