Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
/** * @param CGroup $oGroup * @param array $aContactIds * @return bool */ public function addContactsToGroup($oGroup, $aContactIds) { $iResult = 1; $sSql = $this->oCommandCreator->removeContactsFromGroup($oGroup, $aContactIds); $iResult &= 0 < strlen($sSql) ? $this->oConnection->Execute($sSql) : true; if ($iResult) { $iResult &= $this->oConnection->Execute($this->oCommandCreator->addContactsToGroup($oGroup, $aContactIds)); } return (bool) $iResult; }