Public Member Functions | |
__construct () | |
setVariantParentBuyable ($blBuyable=false) | |
getArticle ($sItemKey) | |
__sleep () | |
getSelList () | |
setSelList ($aSelList) | |
getPersParams () | |
setPersParams ($sPersParams) | |
Protected Member Functions | |
_setFieldData ($sFieldName, $sValue, $iDataType=oxField::T_TEXT) | |
Protected Attributes | |
$_sClassName = 'oxuserbasketitem' | |
$_oArticle = null | |
$_blParentBuyable = false | |
$_aSelList = null | |
$_aPersParam = null |
Shopping basket item manager. Manager class for shopping basket item (class may be overriden).
Definition at line 8 of file oxuserbasketitem.php.
oxUserBasketItem.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxBase()).
Reimplemented from oxBase.
Definition at line 49 of file oxuserbasketitem.php.
oxUserBasketItem.__sleep | ( | ) |
Does not return _oArticle var on serialisation
Definition at line 125 of file oxuserbasketitem.php.
oxUserBasketItem._setFieldData | ( | $ | sFieldName, | |
$ | sValue, | |||
$ | iDataType = oxField::T_TEXT | |||
) | [protected] |
Sets data field value
string | $sFieldName index OR name (eg. 'oxarticles__oxtitle') of a data field to set | |
string | $sValue value of data field | |
int | $iDataType field type |
Reimplemented from oxBase.
Definition at line 194 of file oxuserbasketitem.php.
oxUserBasketItem.getArticle | ( | $ | sItemKey | ) |
Loads and returns the article for that basket item
string | $sItemKey the key that will be given to oxarticle setItemKey |
oxArticleException | article exception |
Definition at line 75 of file oxuserbasketitem.php.
oxUserBasketItem.getPersParams | ( | ) |
Basket item persistent parameters getter
Definition at line 166 of file oxuserbasketitem.php.
oxUserBasketItem.getSelList | ( | ) |
Basket item selection list getter
Definition at line 142 of file oxuserbasketitem.php.
oxUserBasketItem.setPersParams | ( | $ | sPersParams | ) |
Basket item persistent parameters setter
string | $sPersParams persistent parameters |
Definition at line 180 of file oxuserbasketitem.php.
oxUserBasketItem.setSelList | ( | $ | aSelList | ) |
Basket item selection list setter
array | $aSelList selection list |
Definition at line 156 of file oxuserbasketitem.php.
oxUserBasketItem.setVariantParentBuyable | ( | $ | blBuyable = false |
) |
Variant parent "buyable" status setter
bool | $blBuyable parent "buyable" status |
Definition at line 61 of file oxuserbasketitem.php.
oxUserBasketItem.$_aPersParam = null [protected] |
Definition at line 44 of file oxuserbasketitem.php.
oxUserBasketItem.$_aSelList = null [protected] |
Definition at line 37 of file oxuserbasketitem.php.
oxUserBasketItem.$_blParentBuyable = false [protected] |
Definition at line 30 of file oxuserbasketitem.php.
oxUserBasketItem.$_oArticle = null [protected] |
Definition at line 23 of file oxuserbasketitem.php.
oxUserBasketItem.$_sClassName = 'oxuserbasketitem' [protected] |
Reimplemented from oxBase.
Definition at line 16 of file oxuserbasketitem.php.