Package DE_EPAGES::ShopCSVExportImport::API::CSV::ShopObjectExportImport
This module implements the high level interface for import and export of objects to CSV files.
Functions
- csvAttributes
- csvExport
- csvImport
- exportDriver
- getAttributeInfo
- getAttributes
- getExportObjects
- getHeaderStrings
- getLanguages
- importDriver
- new
- warningCodes
csvAttributes
Return list of exportable csv attributes.
Syntax |
my $aCSVAttributes = $Driver->csvAttributes($Shop, $LocaleID, $aLanguageCode2s); |
Input |
|
Return |
|
csvExport
Exports objects to a CSV file.
Syntax |
$Driver->csvExport($Shop, $PathFileName, $hFileFormat, $aObjects); |
Input |
|
csvImport
Imports objects from a CSV file into a shop.
Syntax |
$Driver->csvImport($Shop, $PathFileName, $hFileFormat); |
Input |
|
exportDriver
Return driver package.
Syntax |
$Driver->exportDriver(); |
Return |
|
getAttributeInfo
Returns hash with information about the attribute.
Syntax |
$ahInfo = $self->getAttributeInfo($Attribute, $LanguageID, $ahLanguages, $hInfo); |
Input |
|
Return |
|
getAttributes
Return list of exportable attributes.
Syntax |
my $aAttributes = $Driver->getAttributes($Shop); |
Input |
|
Return |
|
getExportObjects
Returns list of objects to export.
Syntax |
$Driver->getExportObjects($Shop, $aObjects); |
Input |
|
Return |
|
getHeaderStrings
Returns hash with names for first line in csv (headline). Names are native and localized.
Syntax |
$self->getHeaderStrings($hAttribute, $LanguageID, $hParams); |
Input |
|
Return |
|
getLanguages
Returns array of languages for which localized attributes should exported.
Syntax |
$self->getLanguages($Shop, $aLanguageCode2s); |
Input |
|
Return |
|
importDriver
Return driver package.
Syntax |
$Driver->importDriver(); |
Return |
|
new
Creates a new csv export driver.
Syntax |
$Driver= DE_EPAGES::Tax::API::CSV::TaxExportImport->new(%options); |
Example |
$Driver= DE_EPAGES::Tax::API::CSV::TaxExportImport->new; |
Input |
|
Return |
|
warningCodes
Returns the warning codes for csv export.
Syntax |
$aWarningCodes = $Driver->warningCodes(); |
Return |
|