original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Add data to the temporary file in csv format
  
  @param array $row  An array of values.
docstring_tokens: Add data to the temporary file in csv format