ePages 6.17.48 - DE_EPAGES/TagCommander/API/Table/ShopTagCommanderAction.pm

Package DE_EPAGES::TagCommander::API::Table::ShopTagCommanderAction

interface for table ShopTagCommanderAction

@EXPORT_OK
InsertShopTagCommanderAction
UpdateShopTagCommanderAction
DeleteShopTagCommanderAction
GetAllPKeyShopTagCommanderActions
GetAllInfoShopTagCommanderActions
GetInfoShopTagCommanderAction
ExistsShopTagCommanderAction
GetPKeyShopTagCommanderActionsByShopID
GetInfoShopTagCommanderActionsByShopID
GetPKeyShopTagCommanderActionsByActionID
GetInfoShopTagCommanderActionsByActionID

Functions

DeleteShopTagCommanderAction
ExistsShopTagCommanderAction
GetAllInfoShopTagCommanderActions
GetAllPKeyShopTagCommanderActions
GetInfoShopTagCommanderAction
GetInfoShopTagCommanderActionsByActionID
GetInfoShopTagCommanderActionsByShopID
GetPKeyShopTagCommanderActionsByActionID
GetPKeyShopTagCommanderActionsByShopID
InsertShopTagCommanderAction
OnDeleteShop
UpdateShopTagCommanderAction

DeleteShopTagCommanderAction

Deletes a(n) ShopTagCommanderAction.

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

ExistsShopTagCommanderAction

Returns true if the ShopTagCommanderAction exists.

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

GetAllInfoShopTagCommanderActions

Returns all objects of ShopTagCommanderAction.

Syntax
$ahShopTagCommanderActions = GetAllInfoShopTagCommanderActions();
Return
$ahShopTagCommanderActions (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

GetAllPKeyShopTagCommanderActions

Returns all ShopTagCommanderAction identifiers.

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

GetInfoShopTagCommanderAction

Returns the ShopTagCommanderAction by identifier.

Syntax
$hShopTagCommanderAction = GetInfoShopTagCommanderAction($ShopID, $ActionID);
Input
$ShopID (int)
shop id (part of primary key)
$ActionID (int)
action id (part of primary key)
Return
$hShopTagCommanderAction (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

GetInfoShopTagCommanderActionsByActionID

Returns objects of ShopTagCommanderAction by alternate key ActionID.

Syntax
$ahShopTagCommanderActions = GetInfoShopTagCommanderActionsByActionID($ActionID);
Input
$ActionID (int)
action id
Return
$ahShopTagCommanderActions (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

GetInfoShopTagCommanderActionsByShopID

Returns objects of ShopTagCommanderAction by primary key element ShopID.

Syntax
$ahShopTagCommanderActions = GetInfoShopTagCommanderActionsByShopID($ShopID);
Input
$ShopID (int)
shop id
Return
$ahShopTagCommanderActions (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

GetPKeyShopTagCommanderActionsByActionID

Returns primary keys of ShopTagCommanderAction by alternate key ActionID.

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

GetPKeyShopTagCommanderActionsByShopID

Returns primary keys of ShopTagCommanderAction by primary key element ShopID.

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

InsertShopTagCommanderAction

Creates an entry of ShopTagCommanderAction.

Syntax
InsertShopTagCommanderAction($hShopTagCommanderAction);
Input
$hShopTagCommanderAction (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 ShopTagCommanderAction of this model when a(n) Shop is deleted.

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

UpdateShopTagCommanderAction

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

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