CCrmLeadRestProxy::getFieldsInfo

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmLeadRestProxy
  4. getFieldsInfo
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
  • Класс: \CCrmLeadRestProxy
  • Вызов: CCrmLeadRestProxy::getFieldsInfo
protected function getFieldsInfo()
{
	if(!$this->FIELDS_INFO)
	{
		$this->FIELDS_INFO = CCrmLead::GetFieldsInfo();
		self::prepareMultiFieldsInfo($this->FIELDS_INFO);
		foreach ($this->FIELDS_INFO as $code => &$field)
		{
			$field['CAPTION'] = CCrmLead::GetFieldCaption($code);
		}
		self::prepareUserFieldsInfo($this->FIELDS_INFO, CCrmLead::$sUFEntityID);
	}
	return $this->FIELDS_INFO;
}

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