/** * @param int $iUserId * @param mixed $mContactId * @param bool $bIgnoreHideInGab = false * @param int $iSharedTenantId = null * @return CContact|bool */ public function GetContactById($iUserId, $mContactId, $bIgnoreHideInGab = false, $iSharedTenantId = null) { return $this->getContactBySql($this->oCommandCreator->GetContactById($iUserId, (int) $mContactId, $bIgnoreHideInGab, $iSharedTenantId), $iUserId); }