Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
order.php
1
<?php
2
3
namespace
Bitrix\Sale\Exchange\Entity\SubordinateSale
;
4
5
class
Order
extends
\Bitrix\Sale\Exchange\Entity\OrderImport
6
{
15
static
public
function
getBasketItemByItem(\
Bitrix
\
Sale
\
BasketBase
$basket, array $item)
16
{
17
foreach
($basket as $basketItem)
18
{
20
if
($item[
'ID'
] == $basketItem->getField(
'PRODUCT_XML_ID'
))
21
{
22
return
$basketItem;
23
}
24
else
25
continue
;
26
}
27
return
false
;
28
}
29
35
protected
function
entityCreateByFactory
($typeId)
36
{
37
return \Bitrix\Sale\Exchange\Entity\SubordinateSale\EntityImportFactory::create($typeId);
38
}
39
}
Bitrix\Sale\BasketBase
Definition
basketbase.php:17
Bitrix\Sale\Exchange\Entity\OrderImport
Definition
orderimport.php:18
Bitrix\Sale\Exchange\Entity\SubordinateSale\Order
Definition
order.php:6
Bitrix\Sale\Exchange\Entity\SubordinateSale\Order\entityCreateByFactory
entityCreateByFactory($typeId)
Definition
order.php:35
Bitrix\Sale\Exchange\Entity\SubordinateSale
Definition
entityimportfactory.php:2
Bitrix
Sale
modules
sale
lib
exchange
entity
subordinatesale
order.php
Создано системой
1.10.0