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