Beispiel #1
0
 /**
  * @param CGroup $oGroup
  * @return bool
  */
 public function CreateGroup($oGroup)
 {
     $bResult = false;
     if ($this->oConnection->Execute($this->oCommandCreator->CreateGroup($oGroup))) {
         $oGroup->IdGroup = $this->oConnection->GetLastInsertId('awm_addr_groups', 'id_group');
         $bResult = $this->UpdateGroup($oGroup);
     }
     return $bResult;
 }