| 
    OXID eShop CE
    4.10.3
    
   | 
 
 Inheritance diagram for oxBasketItem:
 Collaboration diagram for oxBasketItem:Protected Member Functions | |
| _setArticle ($sProductId) | |
| _setFromOrderArticle ($oOrderArticle) | |
| _setSelectList ($aSelList) | |
Protected Attributes | |
| $_sProductId = null | |
| $_sTitle = null | |
| $_sVarSelect = null | |
| $_sIcon = null | |
| $_sLink = null | |
| $_oPrice = null | |
| $_oUnitPrice = null | |
| $_dAmount = 0.0 | |
| $_dWeight = 0 | |
| $_aSelList = array() | |
| $_sShopId = null | |
| $_sNativeShopId = null | |
| $_blSkipDiscounts = false | |
| $_aPersistentParameters = array() | |
| $_blBundle = false | |
| $_blIsDiscountArticle = false | |
| $_oArticle = null | |
| $_sDimageDirNoSsl = null | |
| $_sDimageDirSsl = null | |
| $_aChosenSelectlist = array() | |
| $_sWrappingId = null | |
| $_sWishId = null | |
| $_sWishArticleId = null | |
| $_blCheckArticleStock = true | |
| $_iLanguageId = null | |
| $_blSsl = null | |
| $_sIconUrl = null | |
| $_oRegularUnitPrice = null | |
| $basketItemKey = null | |
Additional Inherited Members | |
  Static Protected Attributes inherited from oxSuperCfg | |
| static | $_oConfig = null | 
| static | $_oSession = null | 
| static | $_oRights = null | 
| static | $_oActUser = null | 
| static | $_blIsAdmin = null | 
UserBasketItem class, responsible for storing most important fields
Definition at line 7 of file oxbasketitem.php.
| oxBasketItem::__get | ( | $sName | ) | 
Special getter function for backwards compatibility. Executes methods by rule "get".$sVariableName and returns result processed by executed function.
| string | $sName | parameter name | 
Definition at line 653 of file oxbasketitem.php.
| oxBasketItem::__sleep | ( | ) | 
Does not return _oArticle var on serialisation
Definition at line 665 of file oxbasketitem.php.
      
  | 
  protected | 
Assigns general product parameters to oxbasketitem object :
| string | $sProductId | product id | 
| oxNoArticleException | exception | 
Definition at line 692 of file oxbasketitem.php.
      
  | 
  protected | 
Assigns general product parameters to oxbasketitem object:
| oxorderarticle | $oOrderArticle | order article | 
Definition at line 730 of file oxbasketitem.php.
      
  | 
  protected | 
Stores item select lists ( oxbasketitem::aSelList )
| array | $aSelList | item select lists | 
Definition at line 751 of file oxbasketitem.php.
| oxBasketItem::getAmount | ( | ) | 
| oxBasketItem::getArticle | ( | $blCheckProduct = false,  | 
        |
$sProductId = null,  | 
        |||
$blDisableLazyLoading = false  | 
        |||
| ) | 
Retrieves the article .Throws an exception 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 | exception in case of no current object product id is set | 
| oxNoArticleException | exception in case if product not exitst or not visible | 
| oxArticleInputException | exception if product is not buyable (stock and so on) | 
Definition at line 440 of file oxbasketitem.php.
| oxBasketItem::getBasketItemKey | ( | ) | 
| oxBasketItem::getChosenSelList | ( | ) | 
Returns user chosen select list information
Definition at line 609 of file oxbasketitem.php.
| oxBasketItem::getdBundledAmount | ( | ) | 
| oxBasketItem::getFRegularUnitPrice | ( | ) | 
Returns formatted regular unit price
Definition at line 906 of file oxbasketitem.php.
| oxBasketItem::getFTotalPrice | ( | ) | 
Returns formatted total price
Definition at line 930 of file oxbasketitem.php.
| oxBasketItem::getFUnitPrice | ( | ) | 
Returns formatted unit price
Definition at line 918 of file oxbasketitem.php.
| oxBasketItem::getIconUrl | ( | ) | 
| oxBasketItem::getLanguageId | ( | ) | 
| oxBasketItem::getLink | ( | ) | 
| oxBasketItem::getPersParams | ( | ) | 
Get persistent parameters ( oxbasketitem::_aPersistentParameters )
Definition at line 778 of file oxbasketitem.php.
| oxBasketItem::getPrice | ( | ) | 
| oxBasketItem::getProductId | ( | ) | 
| oxBasketItem::getRegularUnitPrice | ( | ) | 
| oxBasketItem::getSelList | ( | ) | 
Returns user passed select list information
Definition at line 599 of file oxbasketitem.php.
| oxBasketItem::getShopId | ( | ) | 
Returns ID of shop from which this product was added into basket
Definition at line 589 of file oxbasketitem.php.
| oxBasketItem::getStockCheckStatus | ( | ) | 
| oxBasketItem::getTitle | ( | ) | 
| oxBasketItem::getUnitPrice | ( | ) | 
| oxBasketItem::getVarSelect | ( | ) | 
| oxBasketItem::getVatPercent | ( | ) | 
| oxBasketItem::getWeight | ( | ) | 
| oxBasketItem::getWishArticleId | ( | ) | 
| oxBasketItem::getWishId | ( | ) | 
| oxBasketItem::getWrapping | ( | ) | 
Returns basket item wrapping object
Definition at line 848 of file oxbasketitem.php.
| oxBasketItem::getWrappingId | ( | ) | 
Returns wrapping paper ID (if such was applied)
Definition at line 838 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 272 of file oxbasketitem.php.
| oxBasketItem::initFromOrderArticle | ( | $oOrderArticle | ) | 
Initializes basket item from oxorderarticle object
| oxorderarticle | $oOrderArticle | order article to load info from | 
Definition at line 293 of file oxbasketitem.php.
| oxBasketItem::isBundle | ( | ) | 
| oxBasketItem::isDiscountArticle | ( | ) | 
Returns true if product is given as discount
Definition at line 629 of file oxbasketitem.php.
| oxBasketItem::isSkipDiscount | ( | ) | 
Returns true if discount must be skipped for current product
Definition at line 639 of file oxbasketitem.php.
| oxBasketItem::setAmount | ( | $dAmount, | |
$blOverride = true,  | 
        |||
$sItemKey = null  | 
        |||
| ) | 
Sets item amount and weight which depends on amount ( oxbasketitem::dAmount, oxbasketitem::dWeight )
| double | $dAmount | amount | 
| bool | $blOverride | Whether to override current amount. | 
| string | $sItemKey | item key | 
| oxArticleInputException | |
| oxOutOfStockException | 
Definition at line 343 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 307 of file oxbasketitem.php.
| oxBasketItem::setBasketItemKey | ( | $itemKey | ) | 
| oxBasketItem::setBundle | ( | $blBundle | ) | 
Marks if item is bundle ( oxbasketitem::blBundle )
| bool | $blBundle | if item is bundle | 
Definition at line 798 of file oxbasketitem.php.
| oxBasketItem::setLanguageId | ( | $iLanguageId | ) | 
Set language Id, reload basket content on language change.
| integer | $iLanguageId | language id | 
Definition at line 976 of file oxbasketitem.php.
| oxBasketItem::setPersParams | ( | $aPersParam | ) | 
Stores items persistent parameters ( oxbasketitem::_aPersistentParameters )
| array | $aPersParam | items persistent parameters | 
Definition at line 788 of file oxbasketitem.php.
| oxBasketItem::setPrice | ( | $oPrice | ) | 
| oxBasketItem::setRegularUnitPrice | ( | $oRegularUnitPrice | ) | 
Set regular unit price
| oxPrice | $oRegularUnitPrice | regular price | 
Definition at line 250 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 808 of file oxbasketitem.php.
| oxBasketItem::setStockCheckStatus | ( | $blStatus | ) | 
Sets stock control mode
| bool | $blStatus | stock control mode | 
Definition at line 317 of file oxbasketitem.php.
| oxBasketItem::setWishArticleId | ( | $sArticleId | ) | 
Wish article Id setter
| string | $sArticleId | wish article id | 
Definition at line 884 of file oxbasketitem.php.
| oxBasketItem::setWishId | ( | $sWishId | ) | 
Wish user id setter
| string | $sWishId | user id | 
Definition at line 874 of file oxbasketitem.php.
| oxBasketItem::setWrapping | ( | $sWrapId | ) | 
Product wrapping paper id setter
| string | $sWrapId | wrapping paper id | 
Definition at line 828 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 148 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 106 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 78 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 113 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 176 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 120 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 99 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 191 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 64 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 71 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 184 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 127 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 50 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 206 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 57 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 134 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 141 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 36 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 198 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 43 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 92 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 15 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 85 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 22 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 29 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 169 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 162 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 155 of file oxbasketitem.php.
      
  | 
  protected | 
Definition at line 213 of file oxbasketitem.php.