ePages 6.10 - DE_EPAGES/Catalog/API/CSV/CatalogExportDriver.pm

Package DE_EPAGES::Catalog::API::CSV::CatalogExportDriver

This module implements a handler to export shop CatalogProductMaps to a CSV file. See DE_EPAGES::Catalog::API::CSV::CatalogExportImport for usage examples.

Base
DE_EPAGES::ShopCSVExportImport::API::CSV::ShopObjectExportDriver

Functions

items
writeLines

items

Returns the catalog product maps to be exported. Throws the warning 'NO_CATALOGITEMS' if there are no items to be exported. Sets property 'Total' of the monitor object if defined $self->monitor.

Syntax
my $aObjectIDs = $self->items();
Return
$aObjectIDs (ref.array.int)
list of object ids

writeLines

Writes one line to the CSV file for each element of items. LoadObject of each itemid of $self->items would be exported via function exportLine of package DE_EPAGES::CSVExportImport::API::CSV::ObjectExportDriver.

Syntax
$self->writeLines();