public function CsvFileLoader::setCsvControl in Plug 7
Sets the delimiter, enclosure, and escape character for CSV.
Parameters
string $delimiter delimiter character:
string $enclosure enclosure character:
string $escape escape character:
File
- lib/
Symfony/ translation/ Loader/ CsvFileLoader.php, line 71
Class
- CsvFileLoader
- CsvFileLoader loads translations from CSV files.
Namespace
Symfony\Component\Translation\LoaderCode
public function setCsvControl($delimiter = ';', $enclosure = '"', $escape = '\\') {
$this->delimiter = $delimiter;
$this->enclosure = $enclosure;
$this->escape = $escape;
}