ePages 6.17.15 - DE_EPAGES/Product/API/Table/ProductTypeSystemFont.pm

Package DE_EPAGES::Product::API::Table::ProductTypeSystemFont

interface for table ProductTypeSystemFont

@EXPORT_OK
InsertProductTypeSystemFont
DeleteProductTypeSystemFont
GetAllPKeyProductTypeSystemFonts
ExistsProductTypeSystemFont
GetPKeyProductTypeSystemFontsByProductTypeID
GetInfoProductTypeSystemFontsByProductTypeID
GetPKeyProductTypeSystemFontsByFontID
GetInfoProductTypeSystemFontsByFontID

Functions

DeleteProductTypeSystemFont
ExistsProductTypeSystemFont
GetAllPKeyProductTypeSystemFonts
GetInfoProductTypeSystemFontsByFontID
GetInfoProductTypeSystemFontsByProductTypeID
GetPKeyProductTypeSystemFontsByFontID
GetPKeyProductTypeSystemFontsByProductTypeID
InsertProductTypeSystemFont

DeleteProductTypeSystemFont

Deletes a(n) ProductTypeSystemFont.

Syntax
DeleteProductTypeSystemFont($ProductTypeID, $FontID);
DeleteProductTypeSystemFont($hProductTypeSystemFont); # if $hProductTypeSystemFont includes ProductTypeID, FontID
Input
$ProductTypeID (int)
producttype id (part of primary key)
$FontID (int)
font id (part of primary key)

ExistsProductTypeSystemFont

Returns true if the ProductTypeSystemFont exists.

Syntax
$exists = ExistsProductTypeSystemFont($ProductTypeID, $FontID);
Input
$ProductTypeID (int)
producttype id (part of primary key)
$FontID (int)
font id (part of primary key)
Return
$exists (boolean)
1/0 the ProductTypeSystemFont exists (yes/no)

GetAllPKeyProductTypeSystemFonts

Returns all ProductTypeSystemFont identifiers.

Syntax
$ahProductTypeSystemFontIDs = GetAllPKeyProductTypeSystemFonts();
Return
$ahProductTypeSystemFontIDs (reference to array of hashes)
with following keys:
  • ProductTypeID - producttype id (part of primary key)- int
  • FontID - font id (part of primary key)- int

GetInfoProductTypeSystemFontsByFontID

Returns objects of ProductTypeSystemFont by alternate key FontID.

Syntax
$ahProductTypeSystemFonts = GetInfoProductTypeSystemFontsByFontID($FontID);
Input
$FontID (int)
font id
Return
$ahProductTypeSystemFonts (reference to array of hashes)
with following keys:
  • ProductTypeID - producttype id (part of primary key)- int
  • FontID - font id (part of primary key)- int

GetInfoProductTypeSystemFontsByProductTypeID

Returns objects of ProductTypeSystemFont by primary key element ProductTypeID.

Syntax
$ahProductTypeSystemFonts = GetInfoProductTypeSystemFontsByProductTypeID($ProductTypeID);
Input
$ProductTypeID (int)
producttype id
Return
$ahProductTypeSystemFonts (reference to array of hashes)
with following keys:
  • ProductTypeID - producttype id (part of primary key)- int
  • FontID - font id (part of primary key)- int

GetPKeyProductTypeSystemFontsByFontID

Returns primary keys of ProductTypeSystemFont by alternate key FontID.

Syntax
$ahKeys = GetPKeyProductTypeSystemFontsByFontID($FontID);
Input
$FontID (int)
font id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • ProductTypeID - producttype id (part of primary key)- int
  • FontID - font id (part of primary key)- int

GetPKeyProductTypeSystemFontsByProductTypeID

Returns primary keys of ProductTypeSystemFont by primary key element ProductTypeID.

Syntax
$ahKeys = GetPKeyProductTypeSystemFontsByProductTypeID($ProductTypeID);
Input
$ProductTypeID (int)
producttype id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • ProductTypeID - producttype id (part of primary key)- int
  • FontID - font id (part of primary key)- int

InsertProductTypeSystemFont

Creates an entry of ProductTypeSystemFont.

Syntax
InsertProductTypeSystemFont($hProductTypeSystemFont);
Input
$hProductTypeSystemFont (reference to hash)
with following keys:
  • ProductTypeID - producttype id (part of primary key)- int
  • FontID - font id (part of primary key)- int