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.setAsDiscountArticle | ( | $ | blIsDiscountArticle | ) |
Marks if item is discount bundle ( oxbasketitem._blIsDiscountArticle )
bool | $blIsDiscountArticle if item is discount bundle |
Definition at line 210 of file oxbasketitem.php.
oxBasketItem.setStockCheckStatus | ( | $ | blStatus | ) |
Sets stock control mode
bool | $blStatus stock control mode |
Definition at line 222 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 248 of file oxbasketitem.php.
oxBasketItem.setPrice | ( | $ | oPrice | ) |
Sets $this->oPrice
object | $oPrice price |
Definition at line 307 of file oxbasketitem.php.
oxBasketItem.getImageUrl | ( | ) |
Getter which returns image path according to SSL mode
Definition at line 327 of file oxbasketitem.php.
oxBasketItem.getArticle | ( | ) |
Retrieves the article
oxArticleException | exception |
Definition at line 344 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 457 of file oxbasketitem.php.
oxBasketItem.getSelList | ( | ) |
Returns user passed select list information
Definition at line 467 of file oxbasketitem.php.
oxBasketItem.getChosenSelList | ( | ) |
Returns user chosen select list information
Definition at line 477 of file oxbasketitem.php.
oxBasketItem.isBundle | ( | ) |
oxBasketItem.isDiscountArticle | ( | ) |
Returns true if product is given as discount
Definition at line 497 of file oxbasketitem.php.
oxBasketItem.isSkipDiscount | ( | ) |
Returns true if discount must be skipped for current product
Definition at line 507 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 521 of file oxbasketitem.php.
oxBasketItem.__sleep | ( | ) |
Does not return _oArticle var on serialisation
Definition at line 533 of file oxbasketitem.php.
oxBasketItem._setDeprecatedValues | ( | ) | [protected] |
Sets object deprecated values
Definition at line 551 of file oxbasketitem.php.
oxBasketItem._setArticle | ( | $ | sProductId | ) | [protected] |
Assigns general product parameters to oxbasketitem object :
string | $sProductId product id |
oxNoArticleException | exception |
Definition at line 654 of file oxbasketitem.php.
oxBasketItem._setSelectList | ( | $ | aSelList | ) | [protected] |
Stores item select lists ( oxbasketitem.aSelList )
array | $aSelList item select lists |
Definition at line 695 of file oxbasketitem.php.
oxBasketItem.getPersParams | ( | ) |
Get persistent parameters ( oxbasketitem._aPersistentParameters )
Definition at line 722 of file oxbasketitem.php.
oxBasketItem.setPersParams | ( | $ | aPersParam | ) |
Stores items persistent parameters ( oxbasketitem._aPersistentParameters )
array | $aPersParam items persistent parameters |
Definition at line 734 of file oxbasketitem.php.
oxBasketItem.setBundle | ( | $ | blBundle | ) |
Marks if item is bundle ( oxbasketitem.blBundle )
bool | $blBundle if item is bundle |
Definition at line 746 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 758 of file oxbasketitem.php.
oxBasketItem.getProductId | ( | ) |
oxBasketItem.setWrapping | ( | $ | sWrapId | ) |
Product wrapping paper id setter
string | $sWrapId wrapping paper id |
Definition at line 780 of file oxbasketitem.php.
oxBasketItem.getWrappingId | ( | ) |
Returns wrapping paper ID (if such was applied)
Definition at line 790 of file oxbasketitem.php.
oxBasketItem.getWrapping | ( | ) |
Returns basket item wrapping object
Definition at line 800 of file oxbasketitem.php.
oxBasketItem.getWishId | ( | ) |
oxBasketItem.setWishId | ( | $ | sWishId | ) |
Wish user id setter
string | $sWishId user id |
Definition at line 827 of file oxbasketitem.php.
oxBasketItem.setWishArticleId | ( | $ | sArticleId | ) |
Wish article Id setter
string | $sArticleId wish article id |
Definition at line 839 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.