You are here

private function FeedsExcelParser::initReader in Feeds Excel 7.2

Init PHPExcel reader.

1 call to FeedsExcelParser::initReader()
FeedsExcelParser::parse in ./FeedsExcelParser.inc

File

./FeedsExcelParser.inc, line 41
Contains FeedsExcelParser.

Class

FeedsExcelParser
Provides feeds parser class for Excel files.

Code

private function initReader() {
  if (!isset($this->reader)) {
    $this->reader = PHPExcel_IOFactory::createReaderForFile($this->file_path);
    $this->reader
      ->setReadDataOnly(TRUE);
  }
}