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),
 
   35         $sGroupId = $this->
getConfig()->getRequestParameter(
'oxid');
 
   36         $sSynchGroupId = $this->
getConfig()->getRequestParameter(
'synchoxid');
 
   41             $sQAdd = 
" from {$sGroupTable} ";
 
   43             $sQAdd = 
" from {$sGroupTable}, oxobject2group where ";
 
   44             $sQAdd .= 
" oxobject2group.oxobjectid = " . $oDb->quote($sGroupId) .
 
   45                       " and oxobject2group.oxgroupsid = {$sGroupTable}.oxid ";
 
   48         if (!$sSynchGroupId) {
 
   49             $sSynchGroupId = $this->
getConfig()->getRequestParameter(
'oxajax_synchfid');
 
   51         if ($sSynchGroupId && $sSynchGroupId != $sGroupId) {
 
   57             $sQAdd .= 
" {$sGroupTable}.oxid not in ( select {$sGroupTable}.oxid from {$sGroupTable}, oxobject2group " .
 
   58                       "where  oxobject2group.oxobjectid = " . $oDb->quote($sSynchGroupId) .
 
   59                       " and oxobject2group.oxgroupsid = $sGroupTable.oxid ) ";
 
   71         if ($this->
getConfig()->getRequestParameter(
'all')) {
 
   76         } elseif ($aRemoveGroups && is_array($aRemoveGroups)) {
 
   78             $sQ = 
"delete from oxobject2group where oxobject2group.oxid in (" . $sRemoveGroups . 
") ";
 
   89         $soxId = $this->
getConfig()->getRequestParameter(
'synchoxid');
 
   91         if ($this->
getConfig()->getRequestParameter(
'all')) {
 
   95         if ($soxId && $soxId != 
"-1" && is_array($aAddGroups)) {
 
   96             foreach ($aAddGroups as $sAddgroup) {
 
   97                 $oNewGroup = 
oxNew(
"oxobject2group");
 
   98                 $oNewGroup->oxobject2group__oxobjectid = 
new oxField($soxId);
 
   99                 $oNewGroup->oxobject2group__oxgroupsid = 
new oxField($sAddgroup);