You are here

public function ParserCSV::__construct in Feeds 8.2

File

lib/Drupal/feeds/ParserCSV.php, line 29
Contains CSV Parser.

Class

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

Namespace

Drupal\feeds

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);
}