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