Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
productproperty.php
1<?php
2
4
8
9final class ProductProperty 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 'TIMESTAMP_X' => [
24 'TYPE' => DataType::TYPE_DATETIME,
25 'ATTRIBUTES' => [
26 Attributes::READONLY,
27 ],
28 ],
29 'IBLOCK_ID' => [
30 'TYPE' => DataType::TYPE_INT,
31 'ATTRIBUTES' => [
32 Attributes::REQUIRED,
33 ]
34 ],
35 'NAME' => [
36 'TYPE' => DataType::TYPE_STRING,
37 'ATTRIBUTES' => [
38 Attributes::REQUIRED,
39 ]
40 ],
41 'ACTIVE' => [
42 'TYPE' => DataType::TYPE_CHAR,
43 ],
44 'SORT' => [
45 'TYPE' => DataType::TYPE_INT,
46 ],
47 'CODE' => [
48 'TYPE' => DataType::TYPE_STRING,
49 ],
50 'DEFAULT_VALUE' => [
51 'TYPE' => DataType::TYPE_TEXT,
52 ],
53 'PROPERTY_TYPE' => [
54 'TYPE' => DataType::TYPE_STRING,
55 'ATTRIBUTES' => [
56 Attributes::REQUIRED,
57 ],
58 ],
59 'USER_TYPE' => [
60 'TYPE' => DataType::TYPE_STRING,
61 ],
62 'ROW_COUNT' => [
63 'TYPE' => DataType::TYPE_INT,
64 ],
65 'COL_COUNT' => [
66 'TYPE' => DataType::TYPE_INT,
67 ],
68 'LIST_TYPE' => [
69 'TYPE' => DataType::TYPE_CHAR,
70 ],
71 'MULTIPLE' => [
72 'TYPE' => DataType::TYPE_CHAR,
73 ],
74 'XML_ID' => [
75 'TYPE' => DataType::TYPE_STRING,
76 ],
77 'MULTIPLE_CNT' => [
78 'TYPE' => DataType::TYPE_INT,
79 ],
80 'LINK_IBLOCK_ID' => [
81 'TYPE' => DataType::TYPE_INT,
82 ],
83 'WITH_DESCRIPTION' => [
84 'TYPE' => DataType::TYPE_CHAR,
85 ],
86 'SEARCHABLE' => [
87 'TYPE' => DataType::TYPE_CHAR,
88 ],
89 'FILTRABLE' => [
90 'TYPE' => DataType::TYPE_CHAR,
91 ],
92 'IS_REQUIRED' => [
93 'TYPE' => DataType::TYPE_CHAR,
94 ],
95 'HINT' => [
96 'TYPE' => DataType::TYPE_STRING,
97 ],
98 ];
99 }
100}