Package DE_EPAGES::Shop::API::CSV::ShopExportImport
This module implements
Functions
- csvExport
- new
csvExport
Exports objects to a CSV file.
Syntax |
csvExport($PathFileName, $hFileFormat);
|
Input |
- $PathFileName (string)
- CSV file name
- $hFileFormat (ref.hash)
- export file format
- LocaleID - locale id, e.g. 'de_DE' - string
The following parameters are optional. Their default values are determined by the given locale id:
- eol - row separator, e.g. "\n" - string
- sep_char - quote character, e.g. ',' - string
- quote_char - quote character, e.g. '"' - string
- escape_char - escape character, e.g. '"' - string
- DecimalSep - decimal point, e.g. '.' - string
- ThousandSep - thousands separator, e.g. ',' - string
- encoding - character encoding, e.g. 'iso-8859-1' - string
- open_mode - append data to file or overwrite it
- $hAddons
- Columns and conditions (*optional)
- Columns - columns to export separate by ','
- Conditions - conditions to an export separate by ','
|
new
create a new csv export driver
Syntax |
$Driver= DE_EPAGES::Shop::API::CSV::ShopExportImport->new();
|
Return |
- $Exporter (object)
- exporter
|