Inheritance diagram for oxIArticle:Public Member Functions | |
| checkForStock ($dAmount, $dArtStockAmount=0) | |
| getSelectLists ($sKeyPrefix=null) | |
| getBasketPrice ($dAmount, $aSelList, $oBasket) | |
| skipDiscounts () | |
| getCategoryIds ($blActCats=false, $blSkipCache=false) | |
| getPrice () | |
| getProductId () | |
| getBasePrice ($dAmount=1) | |
| getProductParentId () | |
| isOrderArticle () | |
Article interface
Definition at line 7 of file oxiarticle.php.
| oxIArticle.checkForStock | ( | $ | dAmount, | |
| $ | dArtStockAmount = 0 | |||
| ) |
Checks if stock configuration allows to buy user chosen amount $dAmount
| double | $dAmount buyable amount | |
| double | $dArtStockAmount stock amount |
Implemented in oxOrderArticle.
| oxIArticle.getBasePrice | ( | $ | dAmount = 1 |
) |
Returns base article price from database
| double | $dAmount article amount. Default is 1 |
Implemented in oxOrderArticle.
| oxIArticle.getBasketPrice | ( | $ | dAmount, | |
| $ | aSelList, | |||
| $ | oBasket | |||
| ) |
Creates, calculates and returns oxprice object for basket product.
| double | $dAmount Amount | |
| string | $aSelList Selection list | |
| object | $oBasket User shopping basket object |
Implemented in oxOrderArticle.
| oxIArticle.getCategoryIds | ( | $ | blActCats = false, |
|
| $ | blSkipCache = false | |||
| ) |
Returns ID's of categories. where this article is assigned
| bool | $blActCats select categories if all parents are active | |
| bool | $blSkipCache Whether to skip cache |
Implemented in oxOrderArticle.
| oxIArticle.getPrice | ( | ) |
Calculates and returns price of article (adds taxes and discounts).
Implemented in oxOrderArticle.
| oxIArticle.getProductId | ( | ) |
| oxIArticle.getProductParentId | ( | ) |
| oxIArticle.getSelectLists | ( | $ | sKeyPrefix = null |
) |
Returns all selectlists this article has.
| string | $sKeyPrefix Optionall key prefix |
Implemented in oxOrderArticle.
| oxIArticle.isOrderArticle | ( | ) |
Returns true if object is derived from oxorderarticle class
Implemented in oxOrderArticle.
| oxIArticle.skipDiscounts | ( | ) |
Checks if discount should be skipped for this article in basket. Returns true if yes.
Implemented in oxOrderArticle.
1.7.1