ePages 7.25.0 - DE_EPAGES/Shopzilla/API/Tools.pm

Package DE_EPAGES::Shopzilla::API::Tools

This package provides the Shopzilla global functionality.

@EXPORT_OK
ShopzillaLog
GetPortalConfigForLocale
GetPortalConfigForUMID

Functions

GetPortalConfigForLocale
GetPortalConfigForUMID
ShopzillaLog

GetPortalConfigForLocale

returns a shopzilla portal config for a given locale

Syntax
GetPortalConfigForLocale($Shop,$Locale);
Input
$Shop (object)
shop
$Locale (object)
locale
Return
$PortalConfig (object)
portal config

GetPortalConfigForUMID

returns a shopzilla portal config for a given umid

Syntax
GetPortalConfigForUMID($UMID);
Input
$UMID (string)
an umid
Return
$PortalConfig (object)
portal config

ShopzillaLog

Logs a structure to the communication.log.

Syntax
ShopzillaLog($Name, $Debug, $Section);
Example
ShopzillaLog('SendRequestHash', \%Hash, 'Send');
Input
$Name (string)
name of data
$Debug (hash)
data to be logged
$Section (string)
name of the section to be logged