Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
builder.php
1
<?php
2
namespace
Bitrix\Sale\Archive\Recovery
;
3
4
use \Bitrix\Main\Result,
5
\
Bitrix\Sale\Archive
;
6
10
abstract
class
Builder
implements
Buildable
,
ArchivePackable
11
{
13
protected
$order
=
null
;
15
protected
$packedOrder
=
null
;
16
protected
$entitiesFields
= [];
17
protected
$packedBasketItems
= [];
18
19
public
function
setPackedOrder
(
PackedField
$field)
20
{
21
$this->packedOrder = $field;
22
}
23
24
public
function
addPackedBasketItem
($id,
PackedField
$field)
25
{
26
$this->packedBasketItems[$id] = $field;
27
}
28
29
public
function
tryUnpack
()
30
{
31
return
new
Result
();
32
}
33
34
public
function
setEntityFields
($name, array $value =
null
)
35
{
36
if
(!is_array($this->entitiesFields[$name]))
37
{
38
$this->entitiesFields[$name] = [];
39
}
40
$this->entitiesFields[$name] = $value;
41
}
42
43
abstract
public
function
buildOrder
();
44
}
Bitrix\Main\DB\Result
Definition
result.php:19
Bitrix\Sale\Archive\Recovery\Builder
Definition
builder.php:11
Bitrix\Sale\Archive\Recovery\Builder\buildOrder
buildOrder()
Bitrix\Sale\Archive\Recovery\Builder\setEntityFields
setEntityFields($name, array $value=null)
Definition
builder.php:34
Bitrix\Sale\Archive\Recovery\Builder\$entitiesFields
$entitiesFields
Definition
builder.php:16
Bitrix\Sale\Archive\Recovery\Builder\$packedBasketItems
$packedBasketItems
Definition
builder.php:17
Bitrix\Sale\Archive\Recovery\Builder\addPackedBasketItem
addPackedBasketItem($id, PackedField $field)
Definition
builder.php:24
Bitrix\Sale\Archive\Recovery\Builder\setPackedOrder
setPackedOrder(PackedField $field)
Definition
builder.php:19
Bitrix\Sale\Archive\Recovery\Builder\tryUnpack
tryUnpack()
Definition
builder.php:29
Bitrix\Sale\Archive\Recovery\Builder\$order
$order
Definition
builder.php:13
Bitrix\Sale\Archive\Recovery\Builder\$packedOrder
$packedOrder
Definition
builder.php:15
Bitrix\Sale\Archive\Recovery\PackedField
Definition
packedfield.php:10
Bitrix\Sale\Archive\Recovery\ArchivePackable
Definition
archivepackable.php:10
Bitrix\Sale\Archive\Recovery\Buildable
Definition
buildable.php:10
Bitrix\Sale\Archive\Recovery
Definition
archivepackable.php:2
Bitrix\Sale\Archive
Definition
manager.php:2
modules
sale
lib
archive
recovery
builder.php
Создано системой
1.10.0