Package DE_EPAGES::ShoppingList::API::Object::ShoppingList
object interface for ShoppingList.
Base |
DE_EPAGES::Shop::API::Object::ShopObject |
Functions
addItem
Add product to shopping list.
Syntax |
$ShoppingListItem = $ShoppingList->addItem($Product, $hInfo); |
Input |
|
Return |
|
className
Returns the class name, used for DAL access.
Syntax |
$ClassName = $ShoppingList->className; |
Return |
|
dbPackage
Returns the database package, used for DAL access.
Syntax |
$DbPackage = $ShoppingList->dbPackage; |
Return |
|
existsItemByProduct
Test if a shopping list item exists by the given product
Syntax |
$ItemExists = $ShoppingList->existsItemByProduct($Product); |
Input |
|
Return |
|
getItemByProduct
Returns a shopping list item exists by the given product
Syntax |
$Item = $ShoppingList->getItemByProduct($Product); |
Input |
|
Return |
|