26require_once DOL_DOCUMENT_ROOT.
'/core/modules/export/exportcsv.class.php';
46 $this->separator =
',';
51 $conf->global->EXPORT_CSV_FORCE_CHARSET =
'ISO-8859-1';
54 $this->enclosure =
'"';
56 $this->label =
'CSV ISO-8859-1';
57 $this->desc = $langs->trans(
"CSVFormatDesc", $this->separator, $this->enclosure, $this->escape);
58 $this->extension =
'csv';
59 $this->picto =
'mime/other';
60 $this->version =
'1.32';
63 $this->label_lib =
'Dolibarr';
64 $this->version_lib = DOL_VERSION;
77 public function write_title($array_export_fields_label, $array_selected_sorted, $outputlangs, $array_types)
80 $conf->global->EXPORT_CSV_FORCE_CHARSET =
'ISO-8859-1';
82 return parent::write_title($array_export_fields_label, $array_selected_sorted, $outputlangs, $array_types);
95 public function write_record($array_selected_sorted, $objp, $outputlangs, $array_types)
98 $conf->global->EXPORT_CSV_FORCE_CHARSET =
'ISO-8859-1';
100 return parent::write_record($array_selected_sorted, $objp, $outputlangs, $array_types);
Class to build export files with format CSV.
Class to build export files with format CSV iso.
__construct($db)
Constructor.
write_title($array_export_fields_label, $array_selected_sorted, $outputlangs, $array_types)
Output title line into file.
write_record($array_selected_sorted, $objp, $outputlangs, $array_types)
Output record line into file.
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.
global $conf
The following vars must be defined: $type2label $form $conf, $lang, The following vars may also be de...