ePages 6.10 - DE_EPAGES/ShopTransfer/API/Common.pm

Package DE_EPAGES::ShopTransfer::API::Common

@EXPORT_OK
GetShopList
GetShopMapping

Functions

GetShopList
GetShopMapping

GetShopList

Returns list of shop aliases, saved in file.

Syntax
$aShopAliases = GetShopList($FileName, $Encoding);
Input
$FileName (string)
table name
$Encoding (string)
file encoding (default utf8)
Return
$aShopAliases (ref.array.string)
list of shop aliases

GetShopMapping

Returns hash of shop old aliases and new alias.

Syntax
$hShops = GetShopMapping($FileName, $Separator, $Encoding);
Input
$FileName (string)
table name
$Separator (string)
separator between old and new alias (default =)
$Encoding (string)
file encoding (default utf8)
Return
$hShops (ref.hash.string)
shop aliases: keys old alias; values new alias