ePages 6.14.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
GetPKeyTemplateMapStringAttributeByName
GetInfoTemplateMapStringAttributeByName
ExistsTemplateMapStringAttributeByName
GetPKeyTemplateMapStringAttributesByName
GetInfoTemplateMapStringAttributesByName

Functions

DeleteTemplateMapStringAttribute
ExistsTemplateMapStringAttribute
ExistsTemplateMapStringAttributeByName
GetAllInfoTemplateMapStringAttributes
GetAllPKeyTemplateMapStringAttributes
GetInfoTemplateMapStringAttribute
GetInfoTemplateMapStringAttributeByName
GetInfoTemplateMapStringAttributesByTemplateMapID
GetPKeyTemplateMapStringAttributeByName
GetPKeyTemplateMapStringAttributesByName
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
$Name (varchar(255))
attribute name
Return
$exists (boolean)
1/0 the TemplateMapStringAttribute exists (yes/no)

ExistsTemplateMapStringAttributeByName

Returns true if a TemplateMapStringAttribute by alternate keys Name and TemplateMapID exists.

Syntax
$hKeys = ExistsTemplateMapStringAttributeByName($Name, $TemplateMapID);
Input
$Name (varchar(255))
#Labl
$TemplateMapID (int)
#Labl
Return
$exists (boolean)
1/0 the u_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 - int
  • Name - attribute name - 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)

GetInfoTemplateMapStringAttributeByName

Returns the object of TemplateMapStringAttribute by alternate keys Name and TemplateMapID.

Syntax
$hTemplateMapStringAttribute = GetInfoTemplateMapStringAttributeByName($Name, $TemplateMapID);
Input
$Name (varchar(255))
#Labl[20]
$TemplateMapID (int)
#Labl[20]
Return
$hTemplateMapStringAttribute (reference to hash)
with following keys:
  • TemplateMapID - #Labl[20] (part of primary key)- int
  • Name - #Labl[20] (part of primary key)- varchar(255)
  • Value - #Labl[20] - 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)

GetPKeyTemplateMapStringAttributeByName

Returns primary key of TemplateMapStringAttribute by alternate keys Name and TemplateMapID.

Syntax
$hKeys = GetPKeyTemplateMapStringAttributeByName($Name, $TemplateMapID);
Input
$Name (varchar(255))
#Labl
$TemplateMapID (int)
#Labl
Return
$hKey (reference to hash)
with following keys:
  • TemplateMapID - #Labl[20] - int
  • Name - #Labl[20] - varchar(255)

GetPKeyTemplateMapStringAttributesByName

Returns primary keys of TemplateMapStringAttribute by alternate keys Name and TemplateMapID.

Syntax
$ahKeys = GetPKeyTemplateMapStringAttributesByName($Name, $TemplateMapID);
Input
$Name (varchar(255))
#Labl
$TemplateMapID (int)
#Labl (optional)
Return
$ahKeys (reference to array of hashes)
with following keys:
  • TemplateMapID - #Labl[20] - int
  • Name - #Labl[20] - 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 - int
  • Name - attribute name - 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)