15         array(
'oxtitle', 
'oxattribute', 1, 1, 0),
 
   16         array(
'oxid', 
'oxattribute', 0, 0, 1)
 
   18                                  'container2' => array(
 
   19                                      array(
'oxtitle', 
'oxattribute', 1, 1, 0),
 
   20                                      array(
'oxid', 
'oxobject2attribute', 0, 0, 1),
 
   21                                      array(
'oxvalue', 
'oxobject2attribute', 0, 1, 1),
 
   22                                      array(
'oxattrid', 
'oxobject2attribute', 0, 0, 1),
 
   38         $sO2AViewName = $this->
_getViewName(
'oxobject2attribute');
 
   41             $sQAdd = 
" from {$sO2AViewName} left join {$sAttrViewName} " .
 
   42                      "on {$sAttrViewName}.oxid={$sO2AViewName}.oxattrid " .
 
   43                      " where {$sO2AViewName}.oxobjectid = " . $oDb->quote($sArtId) . 
" ";
 
   45             $sQAdd = 
" from {$sAttrViewName} where {$sAttrViewName}.oxid not in ( select {$sO2AViewName}.oxattrid " .
 
   46                      "from {$sO2AViewName} left join {$sAttrViewName} " .
 
   47                      "on {$sAttrViewName}.oxid={$sO2AViewName}.oxattrid " .
 
   48                      " where {$sO2AViewName}.oxobjectid = " . $oDb->quote($sSynchArtId) . 
" ) ";
 
   59         $aChosenArt = $this->
_getActionIds(
'oxobject2attribute.oxid');
 
   62             $sO2AViewName = $this->
_getViewName(
'oxobject2attribute');
 
   66         } elseif (is_array($aChosenArt)) {
 
   68             $sQ = 
"delete from oxobject2attribute where oxobject2attribute.oxid in ({$sChosenArticles}) ";
 
   87         if ($soxId && $soxId != 
"-1" && is_array($aAddCat)) {
 
   88             foreach ($aAddCat as $sAdd) {
 
   89                 $oNew = 
oxNew(
"oxbase");
 
   90                 $oNew->init(
"oxobject2attribute");
 
   91                 $oNew->oxobject2attribute__oxobjectid = 
new oxField($soxId);
 
   92                 $oNew->oxobject2attribute__oxattrid = 
new oxField($sAdd);
 
  113             $sAttributeValue = iconv(
'UTF-8', 
oxRegistry::getLang()->translateString(
"charset"), $sAttributeValue);
 
  116         $oArticle = 
oxNew(
"oxarticle");
 
  117         if ($oArticle->load($soxId)) {
 
  120             if (isset($sAttributeId) && (
"" != $sAttributeId)) {
 
  122                 $sOxIdField = 
'oxarticles__oxid';
 
  123                 $sQuotedOxid = $oDb->quote($oArticle->$sOxIdField->value);
 
  124                 $sSelect = 
"select * from {$sViewName} where {$sViewName}.oxobjectid= {$sQuotedOxid} and 
  125                             {$sViewName}.oxattrid= " . $oDb->quote($sAttributeId);
 
  126                 $oO2A = 
oxNew(
"oxi18n");
 
  128                 $oO2A->init(
"oxobject2attribute");
 
  129                 if ($oO2A->assignRecord($sSelect)) {
 
  130                     $oO2A->oxobject2attribute__oxvalue->setValue($sAttributeValue);