15         array(
'oxtitle', 
'oxgroups', 1, 0, 0),
 
   16         array(
'oxid', 
'oxgroups', 0, 0, 0),
 
   17         array(
'oxid', 
'oxgroups', 0, 0, 1),
 
   19                                  'container2' => array(
 
   20                                      array(
'oxtitle', 
'oxgroups', 1, 0, 0),
 
   21                                      array(
'oxid', 
'oxgroups', 0, 0, 0),
 
   22                                      array(
'oxid', 
'oxobject2group', 0, 0, 1),
 
   41             $sQAdd = 
" from $sGroupTable where 1 ";
 
   43             $sQAdd = 
" from $sGroupTable left join oxobject2group on oxobject2group.oxgroupsid=$sGroupTable.oxid ";
 
   44             $sQAdd .= 
" where oxobject2group.oxobjectid = " . $oDb->quote($sDeldId);
 
   47         if ($sSynchDelId && $sSynchDelId != $sDeldId) {
 
   48             $sQAdd .= 
" and $sGroupTable.oxid not in ( select $sGroupTable.oxid from $sGroupTable left join oxobject2group on oxobject2group.oxgroupsid=$sGroupTable.oxid ";
 
   49             $sQAdd .= 
" where oxobject2group.oxobjectid = " . $oDb->quote($sSynchDelId) . 
" ) ";
 
   66         } elseif ($aRemoveGroups && is_array($aRemoveGroups)) {
 
   67             $sQ = 
"delete from oxobject2group where oxobject2group.oxid in (" . implode(
", ", 
oxDb::getInstance()->quoteArray($aRemoveGroups)) . 
") ";
 
   84         if ($soxId && $soxId != 
"-1" && is_array($aAddGroups)) {
 
   85             foreach ($aAddGroups as $sAddgroup) {
 
   86                 $oNewGroup = 
oxNew(
"oxobject2group");
 
   87                 $oNewGroup->oxobject2group__oxobjectid = 
new oxField($soxId);
 
   88                 $oNewGroup->oxobject2group__oxgroupsid = 
new oxField($sAddgroup);