You are here

public function CsvFileDumper::setCsvControl in Plug 7

Sets the delimiter and escape character for CSV.

Parameters

string $delimiter delimiter character:

string $enclosure enclosure character:

File

lib/Symfony/translation/Dumper/CsvFileDumper.php, line 50

Class

CsvFileDumper
CsvFileDumper generates a csv formatted string representation of a message catalogue.

Namespace

Symfony\Component\Translation\Dumper

Code

public function setCsvControl($delimiter = ';', $enclosure = '"') {
  $this->delimiter = $delimiter;
  $this->enclosure = $enclosure;
}