Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
profile.php
1<?php
2
4
8
9final class Profile extends Base
10{
11 public function getFields()
12 {
13 return [
14 'ID'=>[
15 'TYPE'=>DataType::TYPE_INT,
16 'ATTRIBUTES'=>[
17 Attributes::READONLY
18 ]
19 ],
20 'NAME'=>[
21 'TYPE'=>DataType::TYPE_STRING
22 ],
23 'USER_ID'=>[
24 'TYPE'=>DataType::TYPE_STRING,
25 'ATTRIBUTES'=>[
26 Attributes::REQUIRED,
27 Attributes::IMMUTABLE
28 ]
29 ],
30 'PERSON_TYPE_ID'=>[
31 'ATTRIBUTES'=>[
32 Attributes::REQUIRED,
33 Attributes::IMMUTABLE
34 ]
35 ],
36 'DATE_UPDATE'=>[
37 'TYPE'=>DataType::TYPE_DATETIME
38 ],
39 'XML_ID'=>[
40 'TYPE'=>DataType::TYPE_STRING
41 ],
42 'VERSIO_1C'=>[
43 'TYPE'=>DataType::TYPE_STRING
44 ]
45 ];
46 }
47}