29 $this->separator = $a_sep;
34 $this->delimiter = $a_del;
40 $this->first_entry =
true;
45 $this->do_utf8_decoding = (bool) $do_utf8_decoding;
50 if (!$this->first_entry) {
54 $this->csv .= $this->
quote($a_col);
56 $this->first_entry =
false;
64 private function quote(
string $a_str): string
68 $this->delimiter . $this->delimiter,
69 ($this->do_utf8_decoding) ? utf8_decode($a_str) : $a_str
setSeparator(string $a_sep)
setDelimiter(string $a_del)
setDoUTF8Decoding($do_utf8_decoding)