CCrmMultiFieldRestProxy::getFieldsInfo

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmMultiFieldRestProxy
  4. getFieldsInfo
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
  • Класс: \CCrmMultiFieldRestProxy
  • Вызов: CCrmMultiFieldRestProxy::getFieldsInfo
protected function getFieldsInfo()
{
	if(!$this->FIELDS_INFO)
	{
		$this->FIELDS_INFO = array(
			'ID' => array(
				'TYPE' => 'int',
				'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly),
				'CAPTION' => Loc::getMessage('CRM_REST_FIELD_ID')
			),
			'TYPE_ID' => array(
				'TYPE' => 'string',
				'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly),
				'CAPTION' => Loc::getMessage('CRM_REST_MULTIFIELD_FIELD_TYPE_ID')
			),
			'VALUE' => array(
				'TYPE' => 'string',
				'CAPTION' => Loc::getMessage('CRM_REST_MULTIFIELD_FIELD_VALUE')
			),
			'VALUE_TYPE' => array(
				'TYPE' => 'string',
				'CAPTION' => Loc::getMessage('CRM_REST_MULTIFIELD_FIELD_VALUE_TYPE')
			)
		);
	}
	return $this->FIELDS_INFO;
}

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