4 require_once
'oxerptype.php';
19 $this->_sTableName =
'oxartextends';
46 $oShopObject =
oxNew(
'oxi18n');
47 $oShopObject->init(
'oxartextends');
48 $oShopObject->setLanguage( 0 );
49 $oShopObject->setEnableMultilang(
false);
51 foreach ($aData as $key => $value) {
53 $sUPKey = strtoupper($key);
54 if (!isset($aData[$sUPKey])) {
56 $aData[$sUPKey] = $value;
63 $blLoaded = $oShopObject->load( $aData[
'OXID']);
66 $aData = $this->
_preAssignObject( $oShopObject, $aData, $blAllowCustomShopId );
74 $oShopObject->assign( $aData );
76 if ($blAllowCustomShopId) {
77 $oShopObject->setIsDerived(
false);
82 if ( $oShopObject->save()) {