Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
measure.php
1<?php
2
3
5
6
10
11final class Measure extends Base
12{
13 public function getFields()
14 {
15 return [
16 'ID'=>[
17 'TYPE'=>DataType::TYPE_INT,
18 'ATTRIBUTES'=>[
19 Attributes::READONLY
20 ]
21 ],
22 'CODE'=>[
23 'TYPE'=>DataType::TYPE_INT,
24 'ATTRIBUTES'=>[
25 Attributes::REQUIRED_ADD
26 ]
27 ],
28 'MEASURE_TITLE'=>[
29 'TYPE'=>DataType::TYPE_STRING,
30 'ATTRIBUTES'=>[
31 Attributes::REQUIRED_ADD
32 ]
33 ],
34 'SYMBOL'=>[
35 'TYPE'=>DataType::TYPE_STRING,
36 ],
37 'SYMBOL_INTL'=>[
38 'TYPE'=>DataType::TYPE_STRING,
39 ],
40 'SYMBOL_LETTER_INTL'=>[
41 'TYPE'=>DataType::TYPE_STRING,
42 ],
43 'IS_DEFAULT'=>[
44 'TYPE'=>DataType::TYPE_CHAR,
45 ]
46 ];
47 }
48}