

Definition at line 6 of file oxbasketitem.php.
| oxBasketItem.init | ( | $ | sProductID, | |
| $ | dAmount, | |||
| $ | aSel = null, |
|||
| $ | aPersParam = null, |
|||
| $ | blBundle = null | |||
| ) |
Assigns basic params to basket item
| string | $sProductID product id | |
| double | $dAmount amount | |
| array | $aSel selection | |
| array | $aPersParam persistent params | |
| bool | $blBundle bundle |
Definition at line 194 of file oxbasketitem.php.
| oxBasketItem.initFromOrderArticle | ( | $ | oOrderArticle | ) |
Initializes basket item from oxorderarticle object
| oxorderarticle | $oOrderArticle order article to load info from |
Definition at line 216 of file oxbasketitem.php.
| oxBasketItem.setAsDiscountArticle | ( | $ | blIsDiscountArticle | ) |
Marks if item is discount bundle ( oxbasketitem._blIsDiscountArticle )
| bool | $blIsDiscountArticle if item is discount bundle |
Definition at line 231 of file oxbasketitem.php.
| oxBasketItem.setStockCheckStatus | ( | $ | blStatus | ) |
Sets stock control mode
| bool | $blStatus stock control mode |
Definition at line 243 of file oxbasketitem.php.
| oxBasketItem.getStockCheckStatus | ( | ) |
| oxBasketItem.setAmount | ( | $ | dAmount, | |
| $ | blOverride = true | |||
| ) |
Sets item amount and weight which depends on amount ( oxbasketitem.dAmount, oxbasketitem.dWeight )
| double | $dAmount amount | |
| bool | $blOverride overide current amoutn or not |
| oxOutOfStockException,oxArticleInputException |
Definition at line 269 of file oxbasketitem.php.
| oxBasketItem.setPrice | ( | $ | oPrice | ) |
Sets $this->oPrice
| object | $oPrice price |
Definition at line 330 of file oxbasketitem.php.
| oxBasketItem.getImageUrl | ( | ) |
Getter which returns image path according to SSL mode
Definition at line 350 of file oxbasketitem.php.
| oxBasketItem.getArticle | ( | $ | blCheckProduct = true, |
|
| $ | sProductId = null, |
|||
| $ | blDisableLazyLoading = false | |||
| ) |
Retrieves the article .Throws an execption if article does not exist, is not buyable or visible.
| bool | $blCheckProduct checks if product is buyable and visible | |
| string | $sProductId product id | |
| bool | $blDisableLazyLoading disable lazy loading |
| oxArticleException,oxNoArticleException | exception |
Definition at line 372 of file oxbasketitem.php.
| oxBasketItem.getdBundledAmount | ( | ) |
| oxBasketItem.getPrice | ( | ) |
| oxBasketItem.getUnitPrice | ( | ) |
| oxBasketItem.getAmount | ( | ) |
| oxBasketItem.getWeight | ( | ) |
| oxBasketItem.getTitle | ( | ) |
| oxBasketItem.getIcon | ( | ) |
| oxBasketItem.getLink | ( | ) |
| oxBasketItem.getShopId | ( | ) |
Returns ID of shop from which this product was added into basket
Definition at line 514 of file oxbasketitem.php.
| oxBasketItem.getSelList | ( | ) |
Returns user passed select list information
Definition at line 524 of file oxbasketitem.php.
| oxBasketItem.getChosenSelList | ( | ) |
Returns user chosen select list information
Definition at line 534 of file oxbasketitem.php.
| oxBasketItem.isBundle | ( | ) |
| oxBasketItem.isDiscountArticle | ( | ) |
Returns true if product is given as discount
Definition at line 554 of file oxbasketitem.php.
| oxBasketItem.isSkipDiscount | ( | ) |
Returns true if discount must be skipped for current product
Definition at line 564 of file oxbasketitem.php.
| oxBasketItem.__get | ( | $ | sName | ) |
Special getter function for backwards compatability. Executes methods by rule "get".$sVariableName and returns result processed by executed function.
| string | $sName parameter name |
Definition at line 578 of file oxbasketitem.php.
| oxBasketItem.__sleep | ( | ) |
Does not return _oArticle var on serialisation
Definition at line 590 of file oxbasketitem.php.
| oxBasketItem._setDeprecatedValues | ( | ) | [protected] |
Sets object deprecated values
Definition at line 608 of file oxbasketitem.php.
| oxBasketItem._setArticle | ( | $ | sProductId | ) | [protected] |
Assigns general product parameters to oxbasketitem object :
| string | $sProductId product id |
| oxNoArticleException | exception |
Definition at line 711 of file oxbasketitem.php.
| oxBasketItem._setFromOrderArticle | ( | $ | oOrderArticle | ) | [protected] |
Assigns general product parameters to oxbasketitem object:
| oxorderarticle | $oOrderArticle order article |
Definition at line 749 of file oxbasketitem.php.
| oxBasketItem._setSelectList | ( | $ | aSelList | ) | [protected] |
Stores item select lists ( oxbasketitem.aSelList )
| array | $aSelList item select lists |
Definition at line 772 of file oxbasketitem.php.
| oxBasketItem.getPersParams | ( | ) |
Get persistent parameters ( oxbasketitem._aPersistentParameters )
Definition at line 799 of file oxbasketitem.php.
| oxBasketItem.setPersParams | ( | $ | aPersParam | ) |
Stores items persistent parameters ( oxbasketitem._aPersistentParameters )
| array | $aPersParam items persistent parameters |
Definition at line 811 of file oxbasketitem.php.
| oxBasketItem.setBundle | ( | $ | blBundle | ) |
Marks if item is bundle ( oxbasketitem.blBundle )
| bool | $blBundle if item is bundle |
Definition at line 823 of file oxbasketitem.php.
| oxBasketItem.setSkipDiscounts | ( | $ | blSkip | ) |
Used to set "skip discounts" status for basket item
| bool | $blSkip set true to skip discounts |
Definition at line 835 of file oxbasketitem.php.
| oxBasketItem.getProductId | ( | ) |
| oxBasketItem.setWrapping | ( | $ | sWrapId | ) |
Product wrapping paper id setter
| string | $sWrapId wrapping paper id |
Definition at line 857 of file oxbasketitem.php.
| oxBasketItem.getWrappingId | ( | ) |
Returns wrapping paper ID (if such was applied)
Definition at line 867 of file oxbasketitem.php.
| oxBasketItem.getWrapping | ( | ) |
Returns basket item wrapping object
Definition at line 877 of file oxbasketitem.php.
| oxBasketItem.getWishId | ( | ) |
| oxBasketItem.setWishId | ( | $ | sWishId | ) |
Wish user id setter
| string | $sWishId user id |
Definition at line 904 of file oxbasketitem.php.
| oxBasketItem.setWishArticleId | ( | $ | sArticleId | ) |
Wish article Id setter
| string | $sArticleId wish article id |
Definition at line 916 of file oxbasketitem.php.
| oxBasketItem.getWishArticleId | ( | ) |
| oxBasketItem.getFUnitPrice | ( | ) |
| oxBasketItem.getFTotalPrice | ( | ) |
| oxBasketItem.getVatPercent | ( | ) |
| oxBasketItem.getVarSelect | ( | ) |
oxBasketItem.$_sProductId = null [protected] |
Definition at line 13 of file oxbasketitem.php.
oxBasketItem.$_sTitle = null [protected] |
Definition at line 20 of file oxbasketitem.php.
oxBasketItem.$_sVarSelect = null [protected] |
Definition at line 27 of file oxbasketitem.php.
oxBasketItem.$_sIcon = null [protected] |
Definition at line 34 of file oxbasketitem.php.
oxBasketItem.$_sLink = null [protected] |
Definition at line 41 of file oxbasketitem.php.
oxBasketItem.$_oPrice = null [protected] |
Definition at line 48 of file oxbasketitem.php.
oxBasketItem.$_oUnitPrice = null [protected] |
Definition at line 55 of file oxbasketitem.php.
oxBasketItem.$_dAmount = 0.0 [protected] |
Definition at line 62 of file oxbasketitem.php.
oxBasketItem.$_dWeight = 0 [protected] |
Definition at line 69 of file oxbasketitem.php.
oxBasketItem.$_aSelList = array() [protected] |
Definition at line 76 of file oxbasketitem.php.
oxBasketItem.$_sShopId = null [protected] |
Definition at line 83 of file oxbasketitem.php.
oxBasketItem.$_sNativeShopId = null [protected] |
Definition at line 90 of file oxbasketitem.php.
oxBasketItem.$_blSkipDiscounts = false [protected] |
Definition at line 97 of file oxbasketitem.php.
oxBasketItem.$_aPersistentParameters = array() [protected] |
Definition at line 104 of file oxbasketitem.php.
oxBasketItem.$_blBundle = false [protected] |
Definition at line 111 of file oxbasketitem.php.
oxBasketItem.$_blIsDiscountArticle = false [protected] |
Definition at line 118 of file oxbasketitem.php.
oxBasketItem.$_oArticle = null [protected] |
Definition at line 125 of file oxbasketitem.php.
oxBasketItem.$_sDimageDirNoSsl = null [protected] |
Definition at line 132 of file oxbasketitem.php.
oxBasketItem.$_sDimageDirSsl = null [protected] |
Definition at line 139 of file oxbasketitem.php.
oxBasketItem.$_aChosenSelectlist = array() [protected] |
Definition at line 146 of file oxbasketitem.php.
oxBasketItem.$_sWrappingId = null [protected] |
Definition at line 153 of file oxbasketitem.php.
oxBasketItem.$_sWishId = null [protected] |
Definition at line 160 of file oxbasketitem.php.
oxBasketItem.$_sWishArticleId = null [protected] |
Definition at line 167 of file oxbasketitem.php.
oxBasketItem.$_blCheckArticleStock = true [protected] |
Definition at line 174 of file oxbasketitem.php.
1.5.5