4 require_once
'oxerptype.php';
20 $this->_sTableName =
'oxartextends';
47 $oShopObject =
oxNew(
'oxi18n');
48 $oShopObject->init(
'oxartextends');
49 $oShopObject->setLanguage(0);
50 $oShopObject->setEnableMultilang(
false);
52 foreach ($aData as $key => $value) {
54 $sUPKey = strtoupper($key);
55 if (!isset($aData[$sUPKey])) {
57 $aData[$sUPKey] = $value;
64 $blLoaded = $oShopObject->load($aData[
'OXID']);
67 $aData = $this->
_preAssignObject($oShopObject, $aData, $blAllowCustomShopId);
75 $oShopObject->assign($aData);
77 if ($blAllowCustomShopId) {
78 $oShopObject->setIsDerived(
false);
83 if ($oShopObject->save()) {