Definition at line 7 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 188 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 204 of file oxbasketitem.php.
oxBasketItem.setAmount | ( | $ | dAmount, | |
$ | blOverride = true | |||
) |
Sets item amount and weight which depends on amount ( oxbasketitem.dAmount, oxbasketitem.dWeight )
double | $dAmount amount | |
bool | $blOverride overide |
oxOutOfStockException,oxArticleInputException |
Definition at line 220 of file oxbasketitem.php.
oxBasketItem.setPrice | ( | $ | oPrice | ) |
Sets $this->oPrice
object | $oPrice price |
Definition at line 274 of file oxbasketitem.php.
oxBasketItem.getImageUrl | ( | ) |
Getter which returns image path according to SSL mode
Definition at line 294 of file oxbasketitem.php.
oxBasketItem.getArticle | ( | ) |
Retrieves the article
oxArticleException | exception |
Definition at line 311 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 424 of file oxbasketitem.php.
oxBasketItem.getSelList | ( | ) |
Returns user passed select list information
Definition at line 434 of file oxbasketitem.php.
oxBasketItem.getChosenSelList | ( | ) |
Returns user chosen select list information
Definition at line 444 of file oxbasketitem.php.
oxBasketItem.isBundle | ( | ) |
oxBasketItem.isDiscountArticle | ( | ) |
Returns true if product is given as discount
Definition at line 464 of file oxbasketitem.php.
oxBasketItem.isSkipDiscount | ( | ) |
Returns true if discount must be skipped for current product
Definition at line 474 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 488 of file oxbasketitem.php.
oxBasketItem.__sleep | ( | ) |
Does not return _oArticle var on serialisation
Definition at line 500 of file oxbasketitem.php.
oxBasketItem._setDeprecatedValues | ( | ) | [protected] |
Sets object deprecated values
Definition at line 518 of file oxbasketitem.php.
oxBasketItem._setArticle | ( | $ | sProductId | ) | [protected] |
Assigns general product parameters to oxbasketitem object :
string | $sProductId product id |
oxNoArticleException | exception |
Definition at line 621 of file oxbasketitem.php.
oxBasketItem._setSelectList | ( | $ | aSelList | ) | [protected] |
Stores item select lists ( oxbasketitem.aSelList )
array | $aSelList item select lists |
Definition at line 662 of file oxbasketitem.php.
oxBasketItem.getPersParams | ( | ) |
Get persistent parameters ( oxbasketitem._aPersistentParameters )
Definition at line 689 of file oxbasketitem.php.
oxBasketItem.setPersParams | ( | $ | aPersParam | ) |
Stores items persistent parameters ( oxbasketitem._aPersistentParameters )
array | $aPersParam items persistent parameters |
Definition at line 701 of file oxbasketitem.php.
oxBasketItem.setBundle | ( | $ | blBundle | ) |
Marks if item is bundle ( oxbasketitem.blBundle )
bool | $blBundle if item is bundle |
Definition at line 713 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 725 of file oxbasketitem.php.
oxBasketItem.getProductId | ( | ) |
oxBasketItem.setWrapping | ( | $ | sWrapId | ) |
Product wrapping paper id setter
string | $sWrapId wrapping paper id |
Definition at line 747 of file oxbasketitem.php.
oxBasketItem.getWrappingId | ( | ) |
Returns wrapping paper ID (if such was applied)
Definition at line 757 of file oxbasketitem.php.
oxBasketItem.getWrapping | ( | ) |
Returns basket item wrapping object
Definition at line 767 of file oxbasketitem.php.
oxBasketItem.getWishId | ( | ) |
oxBasketItem.setWishId | ( | $ | sWishId | ) |
Wish user id setter
string | $sWishId user id |
Definition at line 794 of file oxbasketitem.php.
oxBasketItem.setWishArticleId | ( | $ | sArticleId | ) |
Wish article Id setter
string | $sArticleId wish article id |
Definition at line 806 of file oxbasketitem.php.
oxBasketItem.getWishArticleId | ( | ) |
oxBasketItem.getFUnitPrice | ( | ) |
oxBasketItem.getFTotalPrice | ( | ) |
oxBasketItem.getVatPercent | ( | ) |
oxBasketItem.getVarSelect | ( | ) |
oxBasketItem.$_sProductId = null [protected] |
Definition at line 14 of file oxbasketitem.php.
oxBasketItem.$_sTitle = null [protected] |
Definition at line 21 of file oxbasketitem.php.
oxBasketItem.$_sVarSelect = null [protected] |
Definition at line 28 of file oxbasketitem.php.
oxBasketItem.$_sIcon = null [protected] |
Definition at line 35 of file oxbasketitem.php.
oxBasketItem.$_sLink = null [protected] |
Definition at line 42 of file oxbasketitem.php.
oxBasketItem.$_oPrice = null [protected] |
Definition at line 49 of file oxbasketitem.php.
oxBasketItem.$_oUnitPrice = null [protected] |
Definition at line 56 of file oxbasketitem.php.
oxBasketItem.$_dAmount = 0.0 [protected] |
Definition at line 63 of file oxbasketitem.php.
oxBasketItem.$_dWeight = 0 [protected] |
Definition at line 70 of file oxbasketitem.php.
oxBasketItem.$_aSelList = array() [protected] |
Definition at line 77 of file oxbasketitem.php.
oxBasketItem.$_sShopId = null [protected] |
Definition at line 84 of file oxbasketitem.php.
oxBasketItem.$_sNativeShopId = null [protected] |
Definition at line 91 of file oxbasketitem.php.
oxBasketItem.$_blSkipDiscounts = false [protected] |
Definition at line 98 of file oxbasketitem.php.
oxBasketItem.$_aPersistentParameters = array() [protected] |
Definition at line 105 of file oxbasketitem.php.
oxBasketItem.$_blBundle = false [protected] |
Definition at line 112 of file oxbasketitem.php.
oxBasketItem.$_blIsDiscountArticle = false [protected] |
Definition at line 119 of file oxbasketitem.php.
oxBasketItem.$_oArticle = null [protected] |
Definition at line 126 of file oxbasketitem.php.
oxBasketItem.$_sDimageDirNoSsl = null [protected] |
Definition at line 133 of file oxbasketitem.php.
oxBasketItem.$_sDimageDirSsl = null [protected] |
Definition at line 140 of file oxbasketitem.php.
oxBasketItem.$_aChosenSelectlist = array() [protected] |
Definition at line 147 of file oxbasketitem.php.
oxBasketItem.$_sWrappingId = null [protected] |
Definition at line 154 of file oxbasketitem.php.
oxBasketItem.$_sWishId = null [protected] |
Definition at line 161 of file oxbasketitem.php.
oxBasketItem.$_sWishArticleId = null [protected] |
Definition at line 168 of file oxbasketitem.php.