Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
vat.php
1<?php
2
3
5
6
10
11final class Vat 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 'TIMESTAMP_X'=>[
24 'TYPE'=>DataType::TYPE_DATETIME
25 ],
26 'ACTIVE'=>[
27 'TYPE'=>DataType::TYPE_CHAR
28 ],
29 'SORT'=>[
30 'TYPE'=>DataType::TYPE_INT
31 ],
32 'NAME'=>[
33 'TYPE'=>DataType::TYPE_STRING,
34 'ATTRIBUTES'=>[
35 Attributes::REQUIRED
36 ]
37 ],
38 'RATE'=>[
39 'TYPE'=>DataType::TYPE_FLOAT,
40 'ATTRIBUTES'=>[
41 Attributes::REQUIRED
42 ]
43 ]
44 ];
45 }
46
47}