Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
productpropertyenum.php
1<?php
2
4
8
9final class ProductPropertyEnum extends Base
10{
14 public function getFields()
15 {
16 return [
17 'ID' => [
18 'TYPE' => DataType::TYPE_INT,
19 'ATTRIBUTES' => [
20 Attributes::READONLY,
21 ],
22 ],
23 'PROPERTY_ID' => [
24 'TYPE' => DataType::TYPE_INT,
25 'ATTRIBUTES' => [
26 Attributes::REQUIRED,
27 ],
28 ],
29 'VALUE' => [
30 'TYPE' => DataType::TYPE_STRING,
31 'ATTRIBUTES' => [
32 Attributes::REQUIRED,
33 ],
34 ],
35 'DEF' => [
36 'TYPE' => DataType::TYPE_CHAR,
37 ],
38 'SORT' => [
39 'TYPE' => DataType::TYPE_INT,
40 ],
41 'XML_ID' => [
42 'TYPE' => DataType::TYPE_STRING,
43 'ATTRIBUTES' => [
44 Attributes::REQUIRED,
45 ],
46 ],
47 ];
48 }
49}