Backend\Models\ImportModel\DecodesCsv

Overview

DecodesCsv format for import


Public Methods

public getFormatEncodingOptions()

public getFormatEncodingOptions(): array 

getFormatEncodingOptions returns all available encodings values from the localization config

Protected Methods

protected decodeArrayValueForCsv()

protected decodeArrayValueForCsv($value, $delimiter = '|'): void

protected processCsvImportRow()

protected processCsvImportRow($rowData, $matches): array 

processCsvImportRow converts a single row of CSV data to the column map

protected processImportDataAsCsv()

protected processImportDataAsCsv($filePath, $matches, $options): void