Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
connector.php
1
<?php
2
namespace
Bitrix\Sale\Exchange\Integration\Service\Scenarios
;
3
4
5
use
Bitrix\Sale\Exchange\Integration\Service\Command\Line
;
6
use
Bitrix\Sale\Exchange\Integration\Service\Command\Batch
;
7
8
class
Connector
9
{
10
public
function
add
(array $params)
11
{
12
Line\App::optionSet($params[
'OPTIONS'
]);
13
Batch\Placement::binds($params[
'PLACEMENTS'
]);
14
(
new
StatisticsProvider
())->
register
($params[
'PROVIDER'
]);
15
}
16
17
public
function
delete
(array $params)
18
{
19
Batch\Placement::unbinds($params[
'PLACEMENTS'
]);
20
}
21
}
Bitrix\Sale\Exchange\Integration\Service\Command\Line\StatisticsProvider
Definition
statisticsprovider.php:11
Bitrix\Sale\Exchange\Integration\Service\Scenarios\Connector
Definition
connector.php:9
Bitrix\Sale\Exchange\Integration\Service\Scenarios\Connector\add
add(array $params)
Definition
connector.php:10
Bitrix\Sale\Exchange\Integration\Service\Command\Batch
Definition
placement.php:2
Bitrix\Sale\Exchange\Integration\Service\Command\Line
Definition
app.php:2
Bitrix\Sale\Exchange\Integration\Service\Scenarios
Definition
activityadd.php:2
modules
sale
lib
exchange
integration
service
scenarios
connector.php
Создано системой
1.10.0