1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
activity.php
См. документацию.
1
<?php
2
namespace
Bitrix\Sale\Exchange\Integration\Service\Batchable
;
3
4
5
use
Bitrix\Sale\Exchange\Integration
;
6
7
class
Activity
extends
Proxy
8
{
9
public
function
init
(
$params
)
10
{
11
foreach
(
$params
as $index=>$item)
12
{
13
$this->collection->addItem(
14
Integration
\Service\Internal\
Container
\Item::create(
15
Integration
\Service\Internal\
Entity
\
Factory::create
($this->
getDstEntityTypeId
())
16
->setOriginId($index)
17
->setOriginatorId(static::ANALITICS_ORIGINATOR_ID)
18
->setSubject($item[
'SUBJECT'
])
19
->setOwnerTypeId($item[
'OWNER_TYPE_ID'
])
20
->setOwnerId($item[
'OWNER_ID'
]))
21
->setInternalIndex($index)
22
);
23
}
24
return
$this;
25
}
26
27
static
protected
function
getProxy
()
28
{
29
return
new
Integration\Rest\RemoteProxies\CRM\Activity
();
30
}
31
32
public
function
getSrcEntityTypeId
()
33
{
34
return
Integration\EntityType::ORDER
;
35
}
36
public
function
getDstEntityTypeId
()
37
{
38
return
Integration\CRM\EntityType::ACTIVITY
;
39
}
40
}
Bitrix\Sale\Exchange\Integration\CRM\EntityType\ACTIVITY
const ACTIVITY
Определения
entitytype.php:10
Bitrix\Sale\Exchange\Integration\CRM\Placement\Factory\create
static create($type, $fields)
Определения
factory.php:9
Bitrix\Sale\Exchange\Integration\EntityType\ORDER
const ORDER
Определения
entitytype.php:12
Bitrix\Sale\Exchange\Integration\Rest\RemoteProxies\CRM\Activity
Определения
activity.php:11
Bitrix\Sale\Exchange\Integration\Service\Batchable\Activity
Определения
activity.php:8
Bitrix\Sale\Exchange\Integration\Service\Batchable\Activity\init
init($params)
Определения
activity.php:9
Bitrix\Sale\Exchange\Integration\Service\Batchable\Activity\getProxy
static getProxy()
Определения
activity.php:27
Bitrix\Sale\Exchange\Integration\Service\Batchable\Activity\getDstEntityTypeId
getDstEntityTypeId()
Определения
activity.php:36
Bitrix\Sale\Exchange\Integration\Service\Batchable\Activity\getSrcEntityTypeId
getSrcEntityTypeId()
Определения
activity.php:32
Bitrix\Sale\Exchange\Integration\Service\Batchable\Proxy
Определения
proxy.php:8
Bitrix\Catalog\Integration
Bitrix\Sale\Exchange\Integration\Entity
Определения
accesscode.php:4
Bitrix\Sale\Exchange\Integration\Service\Batchable
Определения
activity.php:2
Bitrix\Sale\Exchange\Integration\Service\Container
Определения
collection.php:2
Bitrix\Sale\Exchange\Integration
$params
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']
Определения
template.php:799
bitrix
modules
sale
lib
exchange
integration
service
batchable
activity.php
Создано системой
1.14.0