Backend\Behaviors\ImportExportController\CanFormatCsv

Overview

CanFormatCsv contains logic for CSV files


Protected Methods

protected createCsvReader()

protected createCsvReader($path): League\Csv\Reader 

createCsvReader creates a new CSV reader with options selected by the user

protected exportFromListAsCsv()

protected exportFromListAsCsv($widget, $options): string 

protected getImportFileColumnsFromCsv()

protected getImportFileColumnsFromCsv($path): void

getImportFileColumnsFromCsv path

protected getImportSampleColumnsFromCsv()

protected getImportSampleColumnsFromCsv($path, $columnIndex): void