ePages 7.19.0 - DE_EPAGES/Presentation/API/Table/TemplateMapStringAttribute.pm

Package DE_EPAGES::Presentation::API::Table::TemplateMapStringAttribute

interface for table TemplateMapStringAttribute

@EXPORT_OK
InsertTemplateMapStringAttribute
UpdateTemplateMapStringAttribute
DeleteTemplateMapStringAttribute
GetAllPKeyTemplateMapStringAttributes
GetAllInfoTemplateMapStringAttributes
GetInfoTemplateMapStringAttribute
ExistsTemplateMapStringAttribute
GetPKeyTemplateMapStringAttributesByTemplateMapID
GetInfoTemplateMapStringAttributesByTemplateMapID

Functions

DeleteTemplateMapStringAttribute
ExistsTemplateMapStringAttribute
GetAllInfoTemplateMapStringAttributes
GetAllPKeyTemplateMapStringAttributes
GetInfoTemplateMapStringAttribute
GetInfoTemplateMapStringAttributesByTemplateMapID
GetPKeyTemplateMapStringAttributesByTemplateMapID
InsertTemplateMapStringAttribute
UpdateTemplateMapStringAttribute

DeleteTemplateMapStringAttribute

Deletes a(n) TemplateMapStringAttribute.

Syntax
DeleteTemplateMapStringAttribute($TemplateMapID, $Name);
DeleteTemplateMapStringAttribute($hTemplateMapStringAttribute); # if $hTemplateMapStringAttribute includes TemplateMapID, Name
Input
$TemplateMapID (int)
templatemap (part of primary key)
$Name (varchar(255))
attribute name (part of primary key)

ExistsTemplateMapStringAttribute

Returns true if the TemplateMapStringAttribute exists.

Syntax
$exists = ExistsTemplateMapStringAttribute($TemplateMapID, $Name);
Input
$TemplateMapID (int)
templatemap (part of primary key)
$Name (varchar(255))
attribute name (part of primary key)
Return
$exists (boolean)
1/0 the TemplateMapStringAttribute exists (yes/no)

GetAllInfoTemplateMapStringAttributes

Returns all objects of TemplateMapStringAttribute.

Syntax
$ahTemplateMapStringAttributes = GetAllInfoTemplateMapStringAttributes();
Return
$ahTemplateMapStringAttributes (reference to array of hashes)
with following keys:
  • TemplateMapID - templatemap (part of primary key)- int
  • Name - attribute name (part of primary key)- varchar(255)
  • Value - attribute value - varchar(255)

GetAllPKeyTemplateMapStringAttributes

Returns all TemplateMapStringAttribute identifiers.

Syntax
$ahTemplateMapStringAttributeIDs = GetAllPKeyTemplateMapStringAttributes();
Return
$ahTemplateMapStringAttributeIDs (reference to array of hashes)
with following keys:
  • TemplateMapID - templatemap (part of primary key)- int
  • Name - attribute name (part of primary key)- varchar(255)

GetInfoTemplateMapStringAttribute

Returns the TemplateMapStringAttribute by identifier.

Syntax
$hTemplateMapStringAttribute = GetInfoTemplateMapStringAttribute($TemplateMapID, $Name);
Input
$TemplateMapID (int)
templatemap (part of primary key)
$Name (varchar(255))
attribute name (part of primary key)
Return
$hTemplateMapStringAttribute (reference to hash)
with following keys:
  • TemplateMapID - templatemap (part of primary key)- int
  • Name - attribute name (part of primary key)- varchar(255)
  • Value - attribute value - varchar(255)

GetInfoTemplateMapStringAttributesByTemplateMapID

Returns objects of TemplateMapStringAttribute by primary key element TemplateMapID.

Syntax
$ahTemplateMapStringAttributes = GetInfoTemplateMapStringAttributesByTemplateMapID($TemplateMapID);
Input
$TemplateMapID (int)
templatemap
Return
$ahTemplateMapStringAttributes (reference to array of hashes)
with following keys:
  • TemplateMapID - templatemap (part of primary key)- int
  • Name - attribute name (part of primary key)- varchar(255)
  • Value - attribute value - varchar(255)

GetPKeyTemplateMapStringAttributesByTemplateMapID

Returns primary keys of TemplateMapStringAttribute by primary key element TemplateMapID.

Syntax
$ahKeys = GetPKeyTemplateMapStringAttributesByTemplateMapID($TemplateMapID);
Input
$TemplateMapID (int)
templatemap
Return
$ahKeys (reference to array of hashes)
with following keys:
  • TemplateMapID - templatemap (part of primary key)- int
  • Name - attribute name (part of primary key)- varchar(255)

InsertTemplateMapStringAttribute

Creates an entry of TemplateMapStringAttribute.

Syntax
InsertTemplateMapStringAttribute($hTemplateMapStringAttribute);
Input
$hTemplateMapStringAttribute (reference to hash)
with following keys:
  • TemplateMapID - templatemap (part of primary key)- int
  • Name - attribute name (part of primary key)- varchar(255)
  • Value - attribute value - varchar(255)

UpdateTemplateMapStringAttribute

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

Syntax
UpdateTemplateMapStringAttribute($TemplateMapID, $Name, $hTemplateMapStringAttribute);
UpdateTemplateMapStringAttribute($hTemplateMapStringAttribute); # if $hTemplateMapStringAttribute includes TemplateMapID, Name
Input
$TemplateMapID (int)
templatemap (part of primary key)
$Name (varchar(255))
attribute name (part of primary key)
$hTemplateMapStringAttribute (reference to hash)
with following keys:
  • Value - attribute value - varchar(255)