PriceTypeLang::getFields

  1. Bitrix24 API (v. 23.675.0)
  2. catalog
  3. PriceTypeLang
  4. getFields
  • Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/restview/pricetypelang.php
  • Класс: BitrixCatalogRestViewPriceTypeLang
  • Вызов: PriceTypeLang::getFields
public function getFields()
{
	return [
		'ID' => [
			'TYPE' => DataType::TYPE_INT,
			'ATTRIBUTES' => [
				Attributes::IMMUTABLE,
			],
		],
		'CATALOG_GROUP_ID' => [
			'TYPE' => DataType::TYPE_INT,
			'ATTRIBUTES' => [
				Attributes::REQUIRED,
			],
		],
		'LANG' => [
			'TYPE' => DataType::TYPE_STRING,
			'ATTRIBUTES' => [
				Attributes::REQUIRED,
			],
		],
		'NAME'=>[
			'TYPE' => DataType::TYPE_STRING,
			'ATTRIBUTES' => [
				Attributes::REQUIRED,
			],
		]
	];
}

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