public function ParserCSV::setSkipFirstLine in Feeds 7.2
Same name and namespace in other branches
- 6 libraries/ParserCSV.inc \ParserCSV::setSkipFirstLine()
- 7 libraries/ParserCSV.inc \ParserCSV::setSkipFirstLine()
Set this to TRUE if the parser should skip the first line of the CSV text, which might be desired if the first line contains the column names. By default, this is set to FALSE and the first line is not skipped.
File
- libraries/
ParserCSV.inc, line 160 - Contains CSV Parser.
Class
- ParserCSV
- Functionality to parse CSV files into a two dimensional array.
Code
public function setSkipFirstLine($skipFirstLine) {
$this->skipFirstLine = $skipFirstLine;
}