File manager - Edit - /home/web/vm-3fadc827.na4u.ru/www/bitrix/modules/sale/lib/exchange/integration/service/batchable/activity.php
Back
<?php namespace Bitrix\Sale\Exchange\Integration\Service\Batchable; use Bitrix\Sale\Exchange\Integration; class Activity extends Proxy { public function init($params) { foreach($params as $index=>$item) { $this->collection->addItem( Integration\Service\Internal\Container\Item::create( Integration\Service\Internal\Entity\Factory::create($this->getDstEntityTypeId()) ->setOriginId($index) ->setOriginatorId(static::ANALITICS_ORIGINATOR_ID) ->setSubject($item['SUBJECT']) ->setOwnerTypeId($item['OWNER_TYPE_ID']) ->setOwnerId($item['OWNER_ID'])) ->setInternalIndex($index) ); } return $this; } static protected function getProxy() { return new Integration\Rest\RemoteProxies\CRM\Activity(); } public function getSrcEntityTypeId() { return Integration\EntityType::ORDER; } public function getDstEntityTypeId() { return Integration\CRM\EntityType::ACTIVITY; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings