Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
inventorytree.php
1
<?php
2
namespace
Bitrix\Catalog\Product\Store\BatchBalancer
;
3
4
use
Bitrix\Catalog\Product\Store\BatchBalancer\Entity\StoreItem
;
5
use
Bitrix\Main\Result
;
6
use
Bitrix\Catalog\Product\Store\BatchBalancer\Entity\ElementBatchItem
;
7
13
abstract
class
InventoryTree
extends
\ArrayObject
14
{
15
public
function
save
():
Result
16
{
17
$result =
new
Result
();
18
foreach
($this->getIterator() as $item)
19
{
20
$item->save();
21
}
22
23
return
$result;
24
}
25
}
Bitrix\Catalog\Product\Store\BatchBalancer\Entity\ElementBatchItem
Definition
elementbatchitem.php:25
Bitrix\Catalog\Product\Store\BatchBalancer\Entity\StoreItem
Definition
storeitem.php:13
Bitrix\Catalog\Product\Store\BatchBalancer\InventoryTree
Definition
inventorytree.php:14
Bitrix\Catalog\Product\Store\BatchBalancer\InventoryTree\save
save()
Definition
inventorytree.php:15
Bitrix\Main\ORM\Data\Result
Definition
result.php:16
Bitrix\Main\Result
Definition
result.php:14
Bitrix\Catalog\Product\Store\BatchBalancer
Definition
balancer.php:2
modules
catalog
lib
product
store
batchbalancer
inventorytree.php
Создано системой
1.10.0