Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
store.php
1<?php
2
3
5
6
10
11final class Store 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 'TITLE'=>[
24 'TYPE'=>DataType::TYPE_STRING
25 ],
26 'ACTIVE'=>[
27 'TYPE'=>DataType::TYPE_CHAR
28 ],
29 'ADDRESS'=>[
30 'TYPE'=>DataType::TYPE_STRING,
31 'ATTRIBUTES'=>[
32 Attributes::REQUIRED
33 ]
34 ],
35 'DESCRIPTION'=>[
36 'TYPE'=>DataType::TYPE_STRING
37 ],
38 'GPS_N'=>[
39 'TYPE'=>DataType::TYPE_FLOAT
40 ],
41 'GPS_S'=>[
42 'TYPE'=>DataType::TYPE_FLOAT
43 ],
44 'IMAGE_ID'=>[
45 'TYPE'=>DataType::TYPE_INT
46 ],
47 'LOCATION_ID'=>[
48 'TYPE'=>DataType::TYPE_INT
49 ],
50 'DATE_MODIFY'=>[
51 'TYPE'=>DataType::TYPE_DATETIME
52 ],
53 'DATE_CREATE'=>[
54 'TYPE'=>DataType::TYPE_DATETIME
55 ],
56 'USER_ID'=>[
57 'TYPE'=>DataType::TYPE_INT
58 ],
59 'MODIFIED_BY'=>[
60 'TYPE'=>DataType::TYPE_INT
61 ],
62 'PHONE'=>[
63 'TYPE'=>DataType::TYPE_STRING
64 ],
65 'SCHEDULE'=>[
66 'TYPE'=>DataType::TYPE_STRING
67 ],
68 'XML_ID'=>[
69 'TYPE'=>DataType::TYPE_STRING
70 ],
71 'SORT'=>[
72 'TYPE'=>DataType::TYPE_INT
73 ],
74 'EMAIL'=>[
75 'TYPE'=>DataType::TYPE_STRING
76 ],
77 'ISSUING_CENTER'=>[
78 'TYPE'=>DataType::TYPE_CHAR
79 ],
80 'SHIPPING_CENTER'=>[
81 'TYPE'=>DataType::TYPE_CHAR
82 ],
83 'SITE_ID'=>[
84 'TYPE'=>DataType::TYPE_STRING
85 ],
86 'CODE'=>[
87 'TYPE'=>DataType::TYPE_STRING
88 ],
89 ];
90 }
91}