CCrmFields::GetUserFields

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmFields
  4. GetUserFields
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_fields.php
  • Класс: \CCrmFields
  • Вызов: CCrmFields::GetUserFields
protected function GetUserFields($entity_id, $value_id = 0, $LANG = false, $user_id = false)
{
	$result = $this->cUFM->GetUserFields($entity_id, $value_id, $LANG, $user_id);

	// remove invoice reserved fields
	if ($entity_id === CCrmInvoice::GetUserFieldEntityID())
		foreach (CCrmInvoice::GetUserFieldsReserved() as $ufId)
			if (isset($result[$ufId]))
				unset($result[$ufId]);

	return $result;
}

Добавить комментарий