public function add_data($row) {
        if(!isset($this->path)) {
            $this->set_temp_file_path();
            $this->fp = fopen($this->path, 'w+');
        }
        $delimiter = csv_import_reader::get_delimiter($this->delimiter);
        fputcsv($this->fp, $row, $delimiter, $this->csvenclosure);
    }
public function add_data($row) {
        if(!isset($this->path)) {
            $this->set_temp_file_path();
            $this->fp = fopen($this->path, 'w+');
        }
        $delimiter = csv_import_reader::get_delimiter($this->delimiter);
        fputcsv($this->fp, $row, $delimiter, $this->csvenclosure);
    }
public function add_data ( $ row ) { if ( ! isset ( $ this -> path ) ) { $ this -> set_temp_file_path ( ) ; $ this -> fp = fopen ( $ this -> path , 'w+' ) ; } $ delimiter = csv_import_reader :: get_delimiter ( $ this -> delimiter ) ; fputcsv ( $ this -> fp , $ row , $ delimiter , $ this -> csvenclosure ) ; }
Add data to the temporary file in csv format

@param array $row  An array of values.
Add data to the temporary file in csv format