You are here

public function ParserCSVIterator::__construct in Feeds 7.2

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

File

libraries/ParserCSV.inc, line 23
Contains CSV Parser.

Class

ParserCSVIterator
Text lines from file iterator.

Code

public function __construct($filepath) {
  $this->handle = fopen($filepath, 'r');
  $this->currentLine = NULL;
  $this->currentPos = NULL;
}