Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
statisticprovider.php
1
<?php
2
3
4
namespace
Bitrix\Sale\Exchange\Integration\RestView
;
5
6
7
use
Bitrix\Rest\Integration\View\Attributes
;
8
use
Bitrix\Rest\Integration\View\Base
;
9
use
Bitrix\Rest\Integration\View\DataType
;
10
11
final
class
StatisticProvider
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
'NAME'
=>[
23
'TYPE'
=>DataType::TYPE_STRING,
24
'ATTRIBUTES'
=>[
25
Attributes::REQUIRED
26
]
27
],
28
'EXTERNAL_SERVER_HOST'
=>[
29
'TYPE'
=>DataType::TYPE_STRING,
30
'ATTRIBUTES'
=>[
31
Attributes::REQUIRED
32
]
33
],
34
'XML_ID'
=>[
35
'TYPE'
=>DataType::TYPE_STRING,
36
'ATTRIBUTES'
=>[
37
Attributes::REQUIRED
38
]
39
],
40
'SETTINGS'
=>[
41
'TYPE'
=>DataType::TYPE_STRING
42
]
43
];
44
}
45
}
Bitrix\Rest\Integration\View\Attributes
Definition
attributes.php:8
Bitrix\Rest\Integration\View\Base
Definition
base.php:16
Bitrix\Rest\Integration\View\DataType
Definition
datatype.php:11
Bitrix\Sale\Exchange\Integration\RestView\StatisticProvider
Definition
statisticprovider.php:12
Bitrix\Sale\Exchange\Integration\RestView\StatisticProvider\getFields
getFields()
Definition
statisticprovider.php:13
Bitrix\Sale\Exchange\Integration\RestView
Definition
statistic.php:4
modules
sale
lib
exchange
integration
restview
statisticprovider.php
Создано системой
1.10.0