Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
pricetype.php
1<?php
2
3
5
6
10
11final class PriceType extends Base
12{
13
14 public function getFields()
15 {
16 return [
17 'ID' => [
18 'TYPE' => DataType::TYPE_INT,
19 'ATTRIBUTES' => [
20 Attributes::READONLY,
21 ],
22 ],
23 'NAME' => [
24 'TYPE' => DataType::TYPE_STRING,
25 'ATTRIBUTES' => [
26 Attributes::REQUIRED,
27 ],
28 ],
29 'BASE' => [
30 'TYPE' => DataType::TYPE_STRING,
31 ],
32 'SORT' => [
33 'TYPE' => DataType::TYPE_INT,
34 ],
35 'XML_ID' => [
36 'TYPE' => DataType::TYPE_STRING,
37 ],
38 'TIMESTAMP_X' => [
39 'TYPE' => DataType::TYPE_DATETIME,
40 'ATTRIBUTES' => [
41 Attributes::READONLY,
42 ],
43 ],
44 'MODIFIED_BY' => [
45 'TYPE' => DataType::TYPE_INT,
46 'ATTRIBUTES' => [
47 Attributes::READONLY,
48 ],
49 ],
50 'DATE_CREATE' => [
51 'TYPE' => DataType::TYPE_DATETIME,
52 'ATTRIBUTES' => [
53 Attributes::READONLY,
54 ],
55 ],
56 'CREATED_BY' => [
57 'TYPE' => DataType::TYPE_INT,
58 'ATTRIBUTES' => [
59 Attributes::READONLY,
60 ],
61 ],
62 ];
63 }
64}