CCrmCurrency::GetFieldsInfo

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmCurrency
  4. GetFieldsInfo
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_currency.php
  • Класс: \CCrmCurrency
  • Вызов: CCrmCurrency::GetFieldsInfo
static function GetFieldsInfo()
{
	if(!self::$FIELD_INFOS)
	{
		self::$FIELD_INFOS = array(
			'CURRENCY' => array(
				'TYPE' => 'string',
				'ATTRIBUTES' => array(CCrmFieldInfoAttr::UserPKey)
			),
			'AMOUNT_CNT' => array(
				'TYPE' => 'int'
			),
			'AMOUNT' => array(
				'TYPE' => 'double'
			),
			'BASE' => array(
				'TYPE' => 'char',
				'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly)
			),
			'SORT' => array(
				'TYPE' => 'int'
			),
			'DATE_UPDATE' => array(
				'TYPE' => 'datetime',
				'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly)
			),
			'LID' => array(
				'TYPE' => 'string',
				'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly)
			),
			'FORMAT_STRING' => array(
				'TYPE' => 'string',
				'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly)
			),
			'FULL_NAME' => array(
				'TYPE' => 'string',
				'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly)
			),
			'DEC_POINT' => array(
				'TYPE' => 'string',
				'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly)
			),
			'THOUSANDS_SEP' => array(
				'TYPE' => 'string',
				'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly)
			),
			'DECIMALS' => array(
				'TYPE' => 'int',
				'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly)
			)
		);
	}

	return self::$FIELD_INFOS;
}

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