Example #1
0
 /**
  * Parses the Data of the uploaded Csv-File
  */
 protected function csvDataParse()
 {
     try {
         $csvReader = new CsvReader($this->_filePath, $this->_delimiter);
         $this->_contentArray = $csvReader->getContents();
         $this->_csvColumns = $csvReader->getKeys();
     } catch (Exception $e) {
         $this->errorDie(_g('Could not parse the Csv-File!'));
     }
 }