class CsvFileDumper extends FileDumper
CsvFileDumper generates a csv formatted string representation of a message catalogue.
Methods
setRelativePathTemplate(string $relativePathTemplate) Sets the template for the relative paths to files. | from FileDumper | |
setBackup(bool $backup) Sets backup flag. | from FileDumper | |
dump(MessageCatalogue $messages, array $options = array()) Dumps the message catalogue. | from FileDumper | |
string | formatCatalogue(MessageCatalogue $messages, string $domain, array $options = array()) Transforms a domain of a message catalogue to its string representation. | |
setCsvControl(string $delimiter = ';', string $enclosure = '"') Sets the delimiter and escape character for CSV. |
Details
setRelativePathTemplate(string $relativePathTemplate)
Sets the template for the relative paths to files.
setBackup(bool $backup)
Sets backup flag.
dump(MessageCatalogue $messages, array $options = array())
Dumps the message catalogue.
string formatCatalogue(MessageCatalogue $messages, string $domain, array $options = array())
Transforms a domain of a message catalogue to its string representation.
setCsvControl(string $delimiter = ';', string $enclosure = '"')
Sets the delimiter and escape character for CSV.
Please login to continue.