• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/contact.php
  • Класс: Bitrix\Crm\Contact
  • Вызов: Contact::getFilteredUserFields
public function getFilteredUserFields(): ?array
{
	if (!$this->filteredUserFields)
	{
		$crmUserType = new CCrmUserType(
			Application::getUserTypeManager(),
			$this->entity->getUfId(),
			[
				'categoryId' => $this->getCategoryId(),
			]
		);

		$this->filteredUserFields = array_keys($crmUserType->GetEntityFields($this->getId()));
	}

	return $this->filteredUserFields;
}