Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
extra.php
1<?php
2
3
5
6
10
11final class Extra 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 'NAME'=>[
24 'TYPE'=>DataType::TYPE_STRING,
25 'ATTRIBUTES'=>[
26 Attributes::REQUIRED
27 ]
28 ],
29 'PERCENTAGE'=>[
30 'TYPE'=>DataType::TYPE_STRING,
31 'ATTRIBUTES'=>[
32 Attributes::REQUIRED
33 ]
34 ]
35 ];
36 }
37}