4 require_once
'oxerptype.php';
22 $this->_sTableName =
'oxartextends';
49 $oShopObject =
oxNew(
'oxi18n');
50 $oShopObject->init(
'oxartextends');
51 $oShopObject->setLanguage(0);
52 $oShopObject->setEnableMultilang(
false);
54 foreach ($aData as $key => $value) {
56 $sUPKey = strtoupper($key);
57 if (!isset($aData[$sUPKey])) {
59 $aData[$sUPKey] = $value;
66 $blLoaded = $oShopObject->load($aData[
'OXID']);
69 $aData = $this->
_preAssignObject($oShopObject, $aData, $blAllowCustomShopId);
77 $oShopObject->assign($aData);
79 if ($blAllowCustomShopId) {
80 $oShopObject->setIsDerived(
false);
85 if ($oShopObject->save()) {