CCrmUserType::GetAbstractFields

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmUserType
  4. GetAbstractFields
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_usertype.php
  • Класс: \CCrmUserType
  • Вызов: CCrmUserType::GetAbstractFields
public function GetAbstractFields(?array $params = [])
{
	if($this->arFields === null)
	{
		$this->arFields = $this->cUFM->GetUserFields($this->sEntityID, 0, LANGUAGE_ID, false);

		$this->arFields = $this->postFilterFields($this->arFields);

		if (empty($params['skipUserFieldVisibilityCheck']))
		{
			$this->arFields = $this->postFilterAccessCheck(
				$this->arFields,
				Container::getInstance()->getContext()->getUserId()
			);
		}

		$this->arFields = $this->appendNamePrefix($this->arFields);
	}

	return $this->arFields;
}

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