Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
deliverysystem.php
1
<?php
2
3
4
namespace
Bitrix\Sale\Rest\Synchronization\Loader
;
5
6
7
use
Bitrix\Main\ArgumentException
;
8
9
class
DeliverySystem
extends
Entity
10
{
11
public
function
getFieldsByExternalId
($xmlId)
12
{
13
if
($xmlId ===
""
)
14
{
15
return
null
;
16
}
17
18
foreach
(\
Bitrix
\
Sale
\
Delivery
\Services\Manager::getActiveList() as $row)
19
{
20
if
($xmlId == $row[
'XML_ID'
])
21
return
$row[
'ID'
];
22
}
23
24
return
null
;
25
}
26
27
}
Bitrix\Main\ArgumentException
Definition
exception.php:34
Bitrix\Sale\Rest\Synchronization\Loader\DeliverySystem
Definition
deliverysystem.php:10
Bitrix\Sale\Rest\Synchronization\Loader\DeliverySystem\getFieldsByExternalId
getFieldsByExternalId($xmlId)
Definition
deliverysystem.php:11
Bitrix\Sale\Rest\Synchronization\Loader\Entity
Definition
entity.php:11
Bitrix\Sale\Services\PaySystem\Restrictions\Delivery
Definition
delivery.php:23
Bitrix\Sale\Rest\Synchronization\Loader
Definition
basketitem.php:4
Bitrix
Sale
modules
sale
lib
rest
synchronization
loader
deliverysystem.php
Создано системой
1.10.0