![]() |
TYPO3
7.6
|
Static Public Member Functions | |
static | csvToArray ($input, $fieldDelimiter= ',', $fieldEnclosure= '"', $maximumColumns = 0) |
Class with helper functions for CSV handling
Definition at line 20 of file CsvUtility.php.
|
static |
Convert a string, formatted as CSV, into an multidimensional array
This cannot be done by str_getcsv, since it's impossible to handle enclosed cells with a line feed in it
string | $input | The CSV input |
string | $fieldDelimiter | The field delimiter |
string | $fieldEnclosure | The field enclosure |
int | $maximumColumns | The maximum amount of columns |
Definition at line 33 of file CsvUtility.php.
References elseif.
Referenced by CommaSeparatedValueProcessor\process().