ePages 6.11.0 - DE_EPAGES/GoogleAnalytics/API/Table/ShopGoogleAnalyticsAction.pm

Package DE_EPAGES::GoogleAnalytics::API::Table::ShopGoogleAnalyticsAction

interface for table ShopGoogleAnalyticsAction

@EXPORT_OK
InsertShopGoogleAnalyticsAction
UpdateShopGoogleAnalyticsAction
DeleteShopGoogleAnalyticsAction
GetAllPKeyShopGoogleAnalyticsActions
GetAllInfoShopGoogleAnalyticsActions
GetInfoShopGoogleAnalyticsAction
ExistsShopGoogleAnalyticsAction
GetPKeyShopGoogleAnalyticsActionsByShopID
GetInfoShopGoogleAnalyticsActionsByShopID
GetPKeyShopGoogleAnalyticsActionsByActionID
GetInfoShopGoogleAnalyticsActionsByActionID

Functions

DeleteShopGoogleAnalyticsAction
ExistsShopGoogleAnalyticsAction
GetAllInfoShopGoogleAnalyticsActions
GetAllPKeyShopGoogleAnalyticsActions
GetInfoShopGoogleAnalyticsAction
GetInfoShopGoogleAnalyticsActionsByActionID
GetInfoShopGoogleAnalyticsActionsByShopID
GetPKeyShopGoogleAnalyticsActionsByActionID
GetPKeyShopGoogleAnalyticsActionsByShopID
InsertShopGoogleAnalyticsAction
OnDeleteShop
UpdateShopGoogleAnalyticsAction

DeleteShopGoogleAnalyticsAction

Deletes a(n) ShopGoogleAnalyticsAction.

Syntax
DeleteShopGoogleAnalyticsAction($ShopID, $ActionID);
DeleteShopGoogleAnalyticsAction($hShopGoogleAnalyticsAction); # if $hShopGoogleAnalyticsAction includes ShopID, ActionID
Input
$ShopID (int)
shop id (part of primary key)
$ActionID (int)
action id (part of primary key)

ExistsShopGoogleAnalyticsAction

Returns true if the ShopGoogleAnalyticsAction exists.

Syntax
$exists = ExistsShopGoogleAnalyticsAction($ShopID, $ActionID);
Input
$ShopID (int)
shop id
$ActionID (int)
action id
Return
$exists (boolean)
1/0 the ShopGoogleAnalyticsAction exists (yes/no)

GetAllInfoShopGoogleAnalyticsActions

Returns all objects of ShopGoogleAnalyticsAction.

Syntax
$ahShopGoogleAnalyticsActions = GetAllInfoShopGoogleAnalyticsActions();
Return
$ahShopGoogleAnalyticsActions (reference to array of hashes)
with following keys:
  • ShopID - shop id (part of primary key)- int
  • ActionID - action id (part of primary key)- int
  • IsActive - google analytics is active for this action - bit

GetAllPKeyShopGoogleAnalyticsActions

Returns all ShopGoogleAnalyticsAction identifiers.

Syntax
$ahShopGoogleAnalyticsActionIDs = GetAllPKeyShopGoogleAnalyticsActions();
Return
$ahShopGoogleAnalyticsActionIDs (reference to array of hashes)
with following keys:
  • ShopID - shop id - int
  • ActionID - action id - int

GetInfoShopGoogleAnalyticsAction

Returns the ShopGoogleAnalyticsAction by identifier.

Syntax
$hShopGoogleAnalyticsAction = GetInfoShopGoogleAnalyticsAction($ShopID, $ActionID);
Input
$ShopID (int)
shop id (part of primary key)
$ActionID (int)
action id (part of primary key)
Return
$hShopGoogleAnalyticsAction (reference to hash)
with following keys:
  • ShopID - shop id (part of primary key)- int
  • ActionID - action id (part of primary key)- int
  • IsActive - google analytics is active for this action - bit

GetInfoShopGoogleAnalyticsActionsByActionID

Returns objects of ShopGoogleAnalyticsAction by alternate key ActionID.

Syntax
$ahShopGoogleAnalyticsActions = GetInfoShopGoogleAnalyticsActionsByActionID($ActionID);
Input
$ActionID (int)
action id
Return
$ahShopGoogleAnalyticsActions (reference to array of hashes)
with following keys:
  • ShopID - shop id (part of primary key)- int
  • ActionID - action id (part of primary key)- int
  • IsActive - google analytics is active for this action - bit

GetInfoShopGoogleAnalyticsActionsByShopID

Returns objects of ShopGoogleAnalyticsAction by primary key element ShopID.

Syntax
$ahShopGoogleAnalyticsActions = GetInfoShopGoogleAnalyticsActionsByShopID($ShopID);
Input
$ShopID (int)
shop id
Return
$ahShopGoogleAnalyticsActions (reference to array of hashes)
with following keys:
  • ShopID - shop id (part of primary key)- int
  • ActionID - action id (part of primary key)- int
  • IsActive - google analytics is active for this action - bit

GetPKeyShopGoogleAnalyticsActionsByActionID

Returns primary keys of ShopGoogleAnalyticsAction by alternate key ActionID.

Syntax
$ahKeys = GetPKeyShopGoogleAnalyticsActionsByActionID($ActionID);
Input
$ActionID (int)
action id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • ShopID - shop id - int
  • ActionID - action id - int

GetPKeyShopGoogleAnalyticsActionsByShopID

Returns primary keys of ShopGoogleAnalyticsAction by primary key element ShopID.

Syntax
$ahKeys = GetPKeyShopGoogleAnalyticsActionsByShopID($ShopID);
Input
$ShopID (int)
shop id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • ShopID - shop id - int
  • ActionID - action id - int

InsertShopGoogleAnalyticsAction

Creates an entry of ShopGoogleAnalyticsAction.

Syntax
InsertShopGoogleAnalyticsAction($hShopGoogleAnalyticsAction);
Input
$hGoogleAnalyticsAction (reference to hash)
with following keys:
  • ShopID - shop id (part of primary key)- int
  • ActionID - action id (part of primary key)- int
  • IsActive - google analytics is active for this action - bit

OnDeleteShop

Deletes ShopGoogleAnalyticsAction of this model when a(n) Shop is deleted.

Syntax
OnDeleteShop($hParams);
Input
$hParams (ref.hash.*)
primary key of object Shop, key is
  • ShopID

UpdateShopGoogleAnalyticsAction

Updates a(n) ShopGoogleAnalyticsAction if any element was changed.

Syntax
UpdateShopGoogleAnalyticsAction($ShopID, $ActionID, $hShopGoogleAnalyticsAction);
UpdateShopGoogleAnalyticsAction($hShopGoogleAnalyticsAction); # if $hShopGoogleAnalyticsAction includes ShopID, ActionID
Input
$ShopID (int)
shop id (part of primary key)
$ActionID (int)
action id (part of primary key)
$hShopGoogleAnalyticsAction (reference to hash)
with following keys:
  • IsActive - google analytics is active for this action - bit