Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
/** * @param CContact $oContact * @return array|bool */ public function getContactGroupsIds($oContact) { $mGroupsIds = false; if ($this->oConnection->Execute($this->oCommandCreator->getContactGroupsIds($oContact->IdUser, (int) $oContact->IdContact))) { $oRow = null; $mGroupsIds = array(); while (false !== ($oRow = $this->oConnection->GetNextRecord())) { $mGroupsIds[] = (string) $oRow->id_group; } } return $mGroupsIds; }