src/lib/Iamapen/ExcelFriendlyDataSet/Database/DataSet/CommentableCsvDataSet.php
protected function getCsvRow($fh)
    {
        if (version_compare(PHP_VERSION, '5.3.0', '>')) {
            $rows = fgetcsv($fh, NULL, $this->delimiter, $this->enclosure, $this->escape);
        } else {
            $rows = fgetcsv($fh, NULL, $this->delimiter, $this->enclosure);
        }

        if ($rows === false) {
            return false;
        }

        for ($i = 0; $i < $this->ignoreColumnCount; $i++) {
            array_shift($rows);
        }
        return $rows;
    }
protected function getCsvRow($fh)
    {
        if (version_compare(PHP_VERSION, '5.3.0', '>')) {
            $rows = fgetcsv($fh, NULL, $this->delimiter, $this->enclosure, $this->escape);
        } else {
            $rows = fgetcsv($fh, NULL, $this->delimiter, $this->enclosure);
        }

        if ($rows === false) {
            return false;
        }

        for ($i = 0; $i < $this->ignoreColumnCount; $i++) {
            array_shift($rows);
        }
        return $rows;
    }
protected function getCsvRow ( $ fh ) { if ( version_compare ( PHP_VERSION , '5.3.0' , '>' ) ) { $ rows = fgetcsv ( $ fh , NULL , $ this -> delimiter , $ this -> enclosure , $ this -> escape ) ; } else { $ rows = fgetcsv ( $ fh , NULL , $ this -> delimiter , $ this -> enclosure ) ; } if ( $ rows === false ) { return false ; } for ( $ i = 0 ; $ i < $ this -> ignoreColumnCount ; $ i ++ ) { array_shift ( $ rows ) ; } return $ rows ; }
Returns a row from the csv file in an indexed array.

@param resource $fh
@return array
Returns a row from the csv file in an indexed array .