Enum::getProductPropertyTypes

  1. Bitrix24 API (v. 23.675.0)
  2. catalog
  3. Enum
  4. getProductPropertyTypes
  • Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/controller/enum.php
  • Класс: BitrixCatalogControllerEnum
  • Вызов: Enum::getProductPropertyTypes
static function getProductPropertyTypes(): array
{
	return [
		'NUMBER' => [
			'PROPERTY_TYPE' => PropertyTable::TYPE_NUMBER,
			'USER_TYPE' => null,
		],
		'STRING' => [
			'PROPERTY_TYPE' => PropertyTable::TYPE_STRING,
			'USER_TYPE' => null,
		],
		'LIST' => [
			'PROPERTY_TYPE' => PropertyTable::TYPE_LIST,
			'USER_TYPE' => null,
		],
		'BOOL_ENUM' => [
			'PROPERTY_TYPE' => PropertyTable::TYPE_LIST,
			'USER_TYPE' => self::PROPERTY_USER_TYPE_BOOL_ENUM,
		],
		'DATETIME' => [
			'PROPERTY_TYPE' => PropertyTable::TYPE_STRING,
			'USER_TYPE' => PropertyTable::USER_TYPE_DATETIME,
		],
		'MONEY' => [
			'PROPERTY_TYPE' => PropertyTable::TYPE_STRING,
			'USER_TYPE' => self::PROPERTY_USER_TYPE_MONEY,
		],
		'SKU' => [
			'PROPERTY_TYPE' => PropertyTable::TYPE_ELEMENT,
			'USER_TYPE' => PropertyTable::USER_TYPE_SKU,
		],
	];
}

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