ePages 7.48.0 - DE_EPAGES/ShopMailType/API/Table/MailTypeTemplateTLEMap.pm

Package DE_EPAGES::ShopMailType::API::Table::MailTypeTemplateTLEMap

interface for table MailTypeTemplateTLEMap

@EXPORT_OK
InsertMailTypeTemplateTLEMap
UpdateMailTypeTemplateTLEMap
DeleteMailTypeTemplateTLEMap
GetAllPKeyMailTypeTemplateTLEMaps
GetAllInfoMailTypeTemplateTLEMaps
GetInfoMailTypeTemplateTLEMap
ExistsMailTypeTemplateTLEMap
GetPKeyMailTypeTemplateTLEMapsByMailTypeTemplateID
GetInfoMailTypeTemplateTLEMapsByMailTypeTemplateID
GetPKeyMailTypeTemplateTLEMapsByMailTypeTemplateTLEID
GetInfoMailTypeTemplateTLEMapsByMailTypeTemplateTLEID

Functions

DeleteMailTypeTemplateTLEMap
ExistsMailTypeTemplateTLEMap
GetAllInfoMailTypeTemplateTLEMaps
GetAllPKeyMailTypeTemplateTLEMaps
GetInfoMailTypeTemplateTLEMap
GetInfoMailTypeTemplateTLEMapsByMailTypeTemplateID
GetInfoMailTypeTemplateTLEMapsByMailTypeTemplateTLEID
GetPKeyMailTypeTemplateTLEMapsByMailTypeTemplateID
GetPKeyMailTypeTemplateTLEMapsByMailTypeTemplateTLEID
InsertMailTypeTemplateTLEMap
OnDeleteMailTypeTemplate
UpdateMailTypeTemplateTLEMap

DeleteMailTypeTemplateTLEMap

Deletes a(n) MailTypeTemplateTLEMap.

Syntax
DeleteMailTypeTemplateTLEMap($MailTypeTemplateID, $MailTypeTemplateTLEID);
DeleteMailTypeTemplateTLEMap($hMailTypeTemplateTLEMap); # if $hMailTypeTemplateTLEMap includes MailTypeTemplateID, MailTypeTemplateTLEID
Input
$MailTypeTemplateID (int)
mail type template id (part of primary key)
$MailTypeTemplateTLEID (int)
mail type template tle id (part of primary key)

ExistsMailTypeTemplateTLEMap

Returns true if the MailTypeTemplateTLEMap exists.

Syntax
$exists = ExistsMailTypeTemplateTLEMap($MailTypeTemplateID, $MailTypeTemplateTLEID);
Input
$MailTypeTemplateID (int)
mail type template id (part of primary key)
$MailTypeTemplateTLEID (int)
mail type template tle id (part of primary key)
Return
$exists (boolean)
1/0 the MailTypeTemplateTLEMap exists (yes/no)

GetAllInfoMailTypeTemplateTLEMaps

Returns all objects of MailTypeTemplateTLEMap.

Syntax
$ahMailTypeTemplateTLEMaps = GetAllInfoMailTypeTemplateTLEMaps();
Return
$ahMailTypeTemplateTLEMaps (reference to array of hashes)
with following keys:
  • MailTypeTemplateID - mail type template id (part of primary key)- int
  • MailTypeTemplateTLEID - mail type template tle id (part of primary key)- int
  • Position - sort order (optional)- int

GetAllPKeyMailTypeTemplateTLEMaps

Returns all MailTypeTemplateTLEMap identifiers.

Syntax
$ahMailTypeTemplateTLEMapIDs = GetAllPKeyMailTypeTemplateTLEMaps();
Return
$ahMailTypeTemplateTLEMapIDs (reference to array of hashes)
with following keys:
  • MailTypeTemplateID - mail type template id (part of primary key)- int
  • MailTypeTemplateTLEID - mail type template tle id (part of primary key)- int

GetInfoMailTypeTemplateTLEMap

Returns the MailTypeTemplateTLEMap by identifier.

Syntax
$hMailTypeTemplateTLEMap = GetInfoMailTypeTemplateTLEMap($MailTypeTemplateID, $MailTypeTemplateTLEID);
Input
$MailTypeTemplateID (int)
mail type template id (part of primary key)
$MailTypeTemplateTLEID (int)
mail type template tle id (part of primary key)
Return
$hMailTypeTemplateTLEMap (reference to hash)
with following keys:
  • MailTypeTemplateID - mail type template id (part of primary key)- int
  • MailTypeTemplateTLEID - mail type template tle id (part of primary key)- int
  • Position - sort order (optional)- int

GetInfoMailTypeTemplateTLEMapsByMailTypeTemplateID

Returns objects of MailTypeTemplateTLEMap by primary key element MailTypeTemplateID.

Syntax
$ahMailTypeTemplateTLEMaps = GetInfoMailTypeTemplateTLEMapsByMailTypeTemplateID($MailTypeTemplateID);
Input
$MailTypeTemplateID (int)
mail type template id
Return
$ahMailTypeTemplateTLEMaps (reference to array of hashes)
with following keys:
  • MailTypeTemplateID - mail type template id (part of primary key)- int
  • MailTypeTemplateTLEID - mail type template tle id (part of primary key)- int
  • Position - sort order (optional)- int

GetInfoMailTypeTemplateTLEMapsByMailTypeTemplateTLEID

Returns objects of MailTypeTemplateTLEMap by alternate key MailTypeTemplateTLEID.

Syntax
$ahMailTypeTemplateTLEMaps = GetInfoMailTypeTemplateTLEMapsByMailTypeTemplateTLEID($MailTypeTemplateTLEID);
Input
$MailTypeTemplateTLEID (int)
mail type template tle id
Return
$ahMailTypeTemplateTLEMaps (reference to array of hashes)
with following keys:
  • MailTypeTemplateID - mail type template id (part of primary key)- int
  • MailTypeTemplateTLEID - mail type template tle id (part of primary key)- int
  • Position - sort order (optional)- int

GetPKeyMailTypeTemplateTLEMapsByMailTypeTemplateID

Returns primary keys of MailTypeTemplateTLEMap by primary key element MailTypeTemplateID.

Syntax
$ahKeys = GetPKeyMailTypeTemplateTLEMapsByMailTypeTemplateID($MailTypeTemplateID);
Input
$MailTypeTemplateID (int)
mail type template id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • MailTypeTemplateID - mail type template id (part of primary key)- int
  • MailTypeTemplateTLEID - mail type template tle id (part of primary key)- int

GetPKeyMailTypeTemplateTLEMapsByMailTypeTemplateTLEID

Returns primary keys of MailTypeTemplateTLEMap by alternate key MailTypeTemplateTLEID.

Syntax
$ahKeys = GetPKeyMailTypeTemplateTLEMapsByMailTypeTemplateTLEID($MailTypeTemplateTLEID);
Input
$MailTypeTemplateTLEID (int)
mail type template tle id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • MailTypeTemplateID - mail type template id (part of primary key)- int
  • MailTypeTemplateTLEID - mail type template tle id (part of primary key)- int

InsertMailTypeTemplateTLEMap

Creates an entry of MailTypeTemplateTLEMap.

Syntax
InsertMailTypeTemplateTLEMap($hMailTypeTemplateTLEMap);
Input
$hMailTypeTemplateTLEMap (reference to hash)
with following keys:
  • MailTypeTemplateID - mail type template id (part of primary key)- int
  • MailTypeTemplateTLEID - mail type template tle id (part of primary key)- int
  • Position - sort order (optional)- int

OnDeleteMailTypeTemplate

Deletes MailTypeTemplateTLEMap of this model when a(n) MailTypeTemplate is deleted.

Syntax
OnDeleteMailTypeTemplate($hParams);
Input
$hParams (ref.hash.*)
primary key of object MailTypeTemplate, key is
  • MailTypeTemplateID

UpdateMailTypeTemplateTLEMap

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

Syntax
UpdateMailTypeTemplateTLEMap($MailTypeTemplateID, $MailTypeTemplateTLEID, $hMailTypeTemplateTLEMap);
UpdateMailTypeTemplateTLEMap($hMailTypeTemplateTLEMap); # if $hMailTypeTemplateTLEMap includes MailTypeTemplateID, MailTypeTemplateTLEID
Input
$MailTypeTemplateID (int)
mail type template id (part of primary key)
$MailTypeTemplateTLEID (int)
mail type template tle id (part of primary key)
$hMailTypeTemplateTLEMap (reference to hash)
with following keys:
  • Position - sort order (optional)- int