53 $this->
init(
'oxuserbasketitems');
63 $this->_blParentBuyable = $blBuyable;
77 if (!$this->oxuserbasketitems__oxartid->value) {
79 $oEx =
oxNew(
'oxArticleException');
80 $oEx->setMessage(
'EXCEPTION_ARTICLE_NOPRODUCTID');
84 if ($this->_oArticle === null) {
86 $this->_oArticle =
oxNew(
'oxarticle');
95 if (!$this->_oArticle->load($this->oxuserbasketitems__oxartid->value)) {
100 if (($aSelectlist = $this->_oArticle->getSelectLists()) && is_array($aSelList)) {
101 foreach ($aSelList as $iKey => $iSel) {
103 if (isset($aSelectlist[$iKey][$iSel])) {
105 $aSelectlist[$iKey][$iSel] = clone $aSelectlist[$iKey][$iSel];
106 $aSelectlist[$iKey][$iSel]->selected = 1;
109 $this->_oArticle->setSelectlist($aSelectlist);
113 $this->_oArticle->setItemKey($sItemKey);
128 foreach (get_object_vars($this) as $sKey => $sVar) {
129 if ($sKey !=
'_oArticle') {
144 if ($this->_aSelList == null && $this->oxuserbasketitems__oxsellist->value) {
145 $this->_aSelList = unserialize($this->oxuserbasketitems__oxsellist->value);
168 if ($this->_aPersParam == null && $this->oxuserbasketitems__oxpersparam->value) {
169 $this->_aPersParam = unserialize($this->oxuserbasketitems__oxpersparam->value);
196 if (
'oxsellist' === strtolower($sFieldName) ||
'oxuserbasketitems__oxsellist' === strtolower($sFieldName)
197 ||
'oxpersparam' === strtolower($sFieldName) ||
'oxuserbasketitems__oxpersparam' === strtolower($sFieldName)