You are here

public function ParserCSV::__construct in Feeds 6

Same name and namespace in other branches
  1. 7.2 libraries/ParserCSV.inc \ParserCSV::__construct()
  2. 7 libraries/ParserCSV.inc \ParserCSV::__construct()

File

libraries/ParserCSV.inc, line 75

Class

ParserCSV
Functionality to parse CSV files into a two dimensional array.

Code

public function __construct() {
  $this->delimiter = ',';
  $this->skipFirstLine = FALSE;
  $this->columnNames = FALSE;
  $this->timeout = FALSE;
  $this->timeoutReached = FALSE;
  $this->startByte = 0;
  $this->lineLimit = 0;
  $this->lastLinePos = 0;
  ini_set('auto_detect_line_endings', TRUE);
}