1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
refreshfactory.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Sale\Basket;
4
5
class
RefreshFactory
6
{
7
const
TYPE_FULL
=
'full'
;
8
const
TYPE_SINGLE
=
'single'
;
9
10
public
static
function
create
(
$type
=
''
,
$params
=
null
)
11
{
12
switch
(
$type
)
13
{
14
case
self::TYPE_SINGLE:
15
$strategy =
new
SingleRefreshStrategy
(
$params
);
16
break
;
17
18
case
self::TYPE_FULL:
19
default
:
20
$strategy =
new
FullRefreshStrategy
(
$params
);
21
}
22
23
return
$strategy;
24
}
25
26
public
static
function
createSingle
($basketItemCode)
27
{
28
return
static::create(self::TYPE_SINGLE,
array
(
29
'BASKET_ITEM_CODE'
=> $basketItemCode
30
));
31
}
32
}
$type
$type
Определения
options.php:106
Bitrix\Sale\Basket\FullRefreshStrategy
Определения
fullrefreshstrategy.php:8
Bitrix\Sale\Basket\RefreshFactory
Определения
refreshfactory.php:6
Bitrix\Sale\Basket\RefreshFactory\createSingle
static createSingle($basketItemCode)
Определения
refreshfactory.php:26
Bitrix\Sale\Basket\RefreshFactory\TYPE_SINGLE
const TYPE_SINGLE
Определения
refreshfactory.php:8
Bitrix\Sale\Basket\RefreshFactory\TYPE_FULL
const TYPE_FULL
Определения
refreshfactory.php:7
Bitrix\Sale\Basket\RefreshFactory\create
static create($type='', $params=null)
Определения
refreshfactory.php:10
Bitrix\Sale\Basket\SingleRefreshStrategy
Определения
singlerefreshstrategy.php:10
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$params
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']
Определения
template.php:799
bitrix
modules
sale
lib
basket
refreshfactory.php
Создано системой
1.14.0