Package DE_EPAGES::TrustedRating::API::Table::TrustedRating
interface for table TrustedRating
@EXPORT_OK |
Functions
- DeleteTrustedRating
- ExistsTrustedRating
- GetAllInfoTrustedRatings
- GetAllPKeyTrustedRatings
- GetInfoTrustedRating
- GetInfoTrustedRatingsByShopID
- GetInfoTrustedRatingsByUserID
- GetPKeyTrustedRatingsByShopID
- GetPKeyTrustedRatingsByUserID
- InsertTrustedRating
- OnDeleteCustomerOrder
- OnDeleteShop
- OnDeleteUser
- UpdateTrustedRating
DeleteTrustedRating
Deletes a(n) TrustedRating.
Syntax |
DeleteTrustedRating($OrderID); DeleteTrustedRating($hTrustedRating); # if $hTrustedRating includes OrderID |
Input |
|
ExistsTrustedRating
Returns true if the TrustedRating exists.
Syntax |
$exists = ExistsTrustedRating($OrderID); |
Input |
|
Return |
|
GetAllInfoTrustedRatings
Returns all objects of TrustedRating.
Syntax |
$ahTrustedRatings = GetAllInfoTrustedRatings(); |
Return |
|
GetAllPKeyTrustedRatings
Returns all TrustedRating identifiers.
Syntax |
$aTrustedRatingIDs = GetAllPKeyTrustedRatings(); |
Return |
|
GetInfoTrustedRating
Returns the TrustedRating by identifier.
Syntax |
$hTrustedRating = GetInfoTrustedRating($OrderID); |
Input |
|
Return |
|
GetInfoTrustedRatingsByShopID
Returns objects of TrustedRating by alternate keys ShopID and Date.
Syntax |
$ahTrustedRatings = GetInfoTrustedRatingsByShopID($ShopID, $Date); |
Input |
|
Return |
|
GetInfoTrustedRatingsByUserID
Returns objects of TrustedRating by alternate key UserID.
Syntax |
$ahTrustedRatings = GetInfoTrustedRatingsByUserID($UserID); |
Input |
|
Return |
|
GetPKeyTrustedRatingsByShopID
Returns primary keys of TrustedRating by alternate keys ShopID and Date.
Syntax |
$aKeys = GetPKeyTrustedRatingsByShopID($ShopID, $Date); |
Input |
|
Return |
|
GetPKeyTrustedRatingsByUserID
Returns primary keys of TrustedRating by alternate key UserID.
Syntax |
$aKeys = GetPKeyTrustedRatingsByUserID($UserID); |
Input |
|
Return |
|
InsertTrustedRating
Creates an entry of TrustedRating.
Syntax |
InsertTrustedRating($hTrustedRating); |
Input |
|
OnDeleteCustomerOrder
Deletes TrustedRating of this model when a(n) CustomerOrder is deleted.
Syntax |
OnDeleteCustomerOrder($hParams); |
Input |
|
OnDeleteShop
Deletes TrustedRating of this model when a(n) Shop is deleted.
Syntax |
OnDeleteShop($hParams); |
Input |
|
OnDeleteUser
Deletes TrustedRating of this model when a(n) User is deleted.
Syntax |
OnDeleteUser($hParams); |
Input |
|
UpdateTrustedRating
Updates a(n) TrustedRating if any element was changed.
Syntax |
UpdateTrustedRating($OrderID, $hTrustedRating); UpdateTrustedRating($hTrustedRating); # if $hTrustedRating includes OrderID |
Input |
|