You are here

public function ParserCSVIterator::__construct in Feeds 7

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

File

libraries/ParserCSV.inc, line 18

Class

ParserCSVIterator
Text lines from file iterator.

Code

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