CCrmProductPropertyRestProxy::getEnumerationFieldsInfo

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmProductPropertyRestProxy
  4. getEnumerationFieldsInfo
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
  • Класс: \CCrmProductPropertyRestProxy
  • Вызов: CCrmProductPropertyRestProxy::getEnumerationFieldsInfo
protected function getEnumerationFieldsInfo()
{
	if(!$this->ENUMERATION_FIELDS_INFO)
	{
		$this->ENUMERATION_FIELDS_INFO = array(
			'ID' => array('TYPE' => 'integer'),
			'VALUE' => array('TYPE' => 'string'),
			'XML_ID' => array('TYPE' => 'string'),
			'SORT' => array('TYPE' => 'integer'),
			'DEF' => array('TYPE' => 'char')
		);
		foreach ($this->ENUMERATION_FIELDS_INFO  as $code=>&$field)
		{
			$field['CAPTION'] = $this->getFieldCaption($code);
		}
	}

	return self::prepareFields($this->ENUMERATION_FIELDS_INFO);
}

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