Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
basketbundlecollection.php
1
<?php
8
namespace
Bitrix\Sale
;
9
10
use
Bitrix\Sale\Internals
;
11
12
class
BasketBundleCollection
13
extends
Basket
14
{
16
protected
$parentBasketItem
=
null
;
17
21
public
function
setParentBasketItem
(
BasketItem
$basketItem)
22
{
23
$this->parentBasketItem = $basketItem;
24
}
25
29
public
function
getParentBasketItem
()
30
{
31
return
$this->parentBasketItem
;
32
}
33
37
protected
static
function
createBasketObject
()
38
{
39
$registry =
Registry::getInstance
(
Registry::REGISTRY_TYPE_ORDER
);
40
$basketClassName = $registry->getBundleBasketClassName();
41
42
return
new
$basketClassName;
43
}
44
45
}
Bitrix\Catalog\Product\Basket
Definition
basket.php:18
Bitrix\Sale\BasketBundleCollection
Definition
basketbundlecollection.php:14
Bitrix\Sale\BasketBundleCollection\$parentBasketItem
$parentBasketItem
Definition
basketbundlecollection.php:16
Bitrix\Sale\BasketBundleCollection\setParentBasketItem
setParentBasketItem(BasketItem $basketItem)
Definition
basketbundlecollection.php:21
Bitrix\Sale\BasketBundleCollection\getParentBasketItem
getParentBasketItem()
Definition
basketbundlecollection.php:29
Bitrix\Sale\BasketBundleCollection\createBasketObject
static createBasketObject()
Definition
basketbundlecollection.php:37
Bitrix\Sale\BasketItem
Definition
basketitem.php:27
Bitrix\Sale\Registry\getInstance
static getInstance($type)
Definition
registry.php:183
Bitrix\Sale\Registry\REGISTRY_TYPE_ORDER
const REGISTRY_TYPE_ORDER
Definition
registry.php:16
Bitrix\Sale\Internals
Definition
accountnumber.php:3
Bitrix\Sale
modules
sale
lib
basketbundlecollection.php
Создано системой
1.10.0