Definition at line 7 of file oxiarticle.php.
Public Member Functions | |
checkForStock ($dAmount) | |
getSelectLists ($sKeyPrefix=null) | |
getBasketPrice ($dAmount, $aSelList, $oBasket) | |
skipDiscounts () | |
getCategoryIds ($blSkipCache=false) | |
getPrice () | |
getProductId () | |
getBasePrice ($dAmount=1) | |
getProductParentId () | |
isOrderArticle () |
oxIArticle.checkForStock | ( | $ | dAmount | ) |
Checks if stock configuration allows to buy user chosen amount $dAmount
double | $dAmount buyable amount |
Implemented in oxArticle, and oxOrderArticle.
oxIArticle.getSelectLists | ( | $ | sKeyPrefix = null |
) |
Returns all selectlists this article has.
string | $sKeyPrefix Optionall key prefix |
Implemented in oxArticle, and 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 oxArticle, and oxOrderArticle.
oxIArticle.skipDiscounts | ( | ) |
Checks if discount should be skipped for this article in basket. Returns true if yes.
Implemented in oxArticle, and oxOrderArticle.
oxIArticle.getCategoryIds | ( | $ | blSkipCache = false |
) |
Returns ID's of categories. where this article is assigned
bool | $blSkipCache Whether to skip cache |
Implemented in oxArticle, and oxOrderArticle.
oxIArticle.getPrice | ( | ) |
Calculates and returns price of article (adds taxes and discounts).
Implemented in oxArticle, and oxOrderArticle.
oxIArticle.getProductId | ( | ) |
oxIArticle.getBasePrice | ( | $ | dAmount = 1 |
) |
Returns base article price from database
double | $dAmount article amount. Default is 1 |
Implemented in oxArticle, and oxOrderArticle.
oxIArticle.getProductParentId | ( | ) |
oxIArticle.isOrderArticle | ( | ) |
Returns true if object is derived from oxorderarticle class
Implemented in oxArticle, and oxOrderArticle.