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