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