ePages 6.14.0 - DE_EPAGES/Product/API/Table/ProductTypeFileType.pm

Package DE_EPAGES::Product::API::Table::ProductTypeFileType

interface for table ProductTypeFileType

@EXPORT_OK
InsertProductTypeFileType
DeleteProductTypeFileType
GetAllPKeyProductTypeFileTypes
ExistsProductTypeFileType
GetPKeyProductTypeFileTypesByProductTypeID
GetInfoProductTypeFileTypesByProductTypeID
GetPKeyProductTypeFileTypesByFileTypeID
GetInfoProductTypeFileTypesByFileTypeID

Functions

DeleteProductTypeFileType
ExistsProductTypeFileType
GetAllPKeyProductTypeFileTypes
GetInfoProductTypeFileTypesByFileTypeID
GetInfoProductTypeFileTypesByProductTypeID
GetPKeyProductTypeFileTypesByFileTypeID
GetPKeyProductTypeFileTypesByProductTypeID
InsertProductTypeFileType

DeleteProductTypeFileType

Deletes a(n) ProductTypeFileType.

Syntax
DeleteProductTypeFileType($ProductTypeID, $FileTypeID);
DeleteProductTypeFileType($hProductTypeFileType); # if $hProductTypeFileType includes ProductTypeID, FileTypeID
Input
$ProductTypeID (int)
producttype id (part of primary key)
$FileTypeID (int)
filetype id (part of primary key)

ExistsProductTypeFileType

Returns true if the ProductTypeFileType exists.

Syntax
$exists = ExistsProductTypeFileType($ProductTypeID, $FileTypeID);
Input
$ProductTypeID (int)
producttype id
$FileTypeID (int)
filetype id
Return
$exists (boolean)
1/0 the ProductTypeFileType exists (yes/no)

GetAllPKeyProductTypeFileTypes

Returns all ProductTypeFileType identifiers.

Syntax
$ahProductTypeFileTypeIDs = GetAllPKeyProductTypeFileTypes();
Return
$ahProductTypeFileTypeIDs (reference to array of hashes)
with following keys:
  • ProductTypeID - producttype id - int
  • FileTypeID - filetype id - int

GetInfoProductTypeFileTypesByFileTypeID

Returns objects of ProductTypeFileType by alternate key FileTypeID.

Syntax
$ahProductTypeFileTypes = GetInfoProductTypeFileTypesByFileTypeID($FileTypeID);
Input
$FileTypeID (int)
filetype id
Return
$ahProductTypeFileTypes (reference to array of hashes)
with following keys:
  • ProductTypeID - producttype id (part of primary key)- int
  • FileTypeID - filetype id (part of primary key)- int

GetInfoProductTypeFileTypesByProductTypeID

Returns objects of ProductTypeFileType by primary key element ProductTypeID.

Syntax
$ahProductTypeFileTypes = GetInfoProductTypeFileTypesByProductTypeID($ProductTypeID);
Input
$ProductTypeID (int)
producttype id
Return
$ahProductTypeFileTypes (reference to array of hashes)
with following keys:
  • ProductTypeID - producttype id (part of primary key)- int
  • FileTypeID - filetype id (part of primary key)- int

GetPKeyProductTypeFileTypesByFileTypeID

Returns primary keys of ProductTypeFileType by alternate key FileTypeID.

Syntax
$ahKeys = GetPKeyProductTypeFileTypesByFileTypeID($FileTypeID);
Input
$FileTypeID (int)
filetype id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • ProductTypeID - producttype id - int
  • FileTypeID - filetype id - int

GetPKeyProductTypeFileTypesByProductTypeID

Returns primary keys of ProductTypeFileType by primary key element ProductTypeID.

Syntax
$ahKeys = GetPKeyProductTypeFileTypesByProductTypeID($ProductTypeID);
Input
$ProductTypeID (int)
producttype id
Return
$ahKeys (reference to array of hashes)
with following keys:
  • ProductTypeID - producttype id - int
  • FileTypeID - filetype id - int

InsertProductTypeFileType

Creates an entry of ProductTypeFileType.

Syntax
InsertProductTypeFileType($hProductTypeFileType);
Input
$hProductTypeFileType (reference to hash)
with following keys:
  • ProductTypeID - producttype id (part of primary key)- int
  • FileTypeID - filetype id (part of primary key)- int