Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
item.php
1
<?php
2
namespace
Bitrix\Sale\Exchange\Integration\Service\Container
;
3
4
5
6
use
Bitrix\Main\Error
;
7
8
class
Item
9
{
10
protected
$internalIndex
;
11
protected
$entity
;
12
protected
$error
;
13
protected
$hasError
;
14
15
public
function
__construct
(
Entity
$entity
)
16
{
17
$this->entity =
$entity
;
18
}
19
20
public
static
function
create
(
Entity
$entity
)
21
{
22
return
new
static
(
$entity
);
23
}
24
25
public
function
setInternalIndex
(
$internalIndex
)
26
{
27
$this->internalIndex =
$internalIndex
;
28
return
$this;
29
}
30
31
public
function
getInternalIndex
()
32
{
33
return
$this->internalIndex
;
34
}
35
36
public
function
getEntity
()
37
{
38
return
$this->entity
;
39
}
40
44
public
function
getError
()
45
{
46
return
$this->error
;
47
}
48
49
public
function
setError
(
Error
$error
)
50
{
51
$this->
hasError
=
true
;
52
$this->error =
$error
;
53
}
54
55
public
function
hasError
()
56
{
57
return
$this->hasError
;
58
}
59
}
Bitrix\Main\Error
Definition
error.php:14
Bitrix\Sale\Exchange\Integration\Service\Container\Entity
Definition
entity.php:10
Bitrix\Sale\Exchange\Integration\Service\Container\Item
Definition
item.php:9
Bitrix\Sale\Exchange\Integration\Service\Container\Item\getEntity
getEntity()
Definition
item.php:36
Bitrix\Sale\Exchange\Integration\Service\Container\Item\getError
getError()
Definition
item.php:44
Bitrix\Sale\Exchange\Integration\Service\Container\Item\create
static create(Entity $entity)
Definition
item.php:20
Bitrix\Sale\Exchange\Integration\Service\Container\Item\$hasError
$hasError
Definition
item.php:13
Bitrix\Sale\Exchange\Integration\Service\Container\Item\setError
setError(Error $error)
Definition
item.php:49
Bitrix\Sale\Exchange\Integration\Service\Container\Item\getInternalIndex
getInternalIndex()
Definition
item.php:31
Bitrix\Sale\Exchange\Integration\Service\Container\Item\$entity
$entity
Definition
item.php:11
Bitrix\Sale\Exchange\Integration\Service\Container\Item\hasError
hasError()
Definition
item.php:55
Bitrix\Sale\Exchange\Integration\Service\Container\Item\$internalIndex
$internalIndex
Definition
item.php:10
Bitrix\Sale\Exchange\Integration\Service\Container\Item\__construct
__construct(Entity $entity)
Definition
item.php:15
Bitrix\Sale\Exchange\Integration\Service\Container\Item\$error
$error
Definition
item.php:12
Bitrix\Sale\Exchange\Integration\Service\Container\Item\setInternalIndex
setInternalIndex($internalIndex)
Definition
item.php:25
Bitrix\Sale\Exchange\Integration\Service\Container
Definition
collection.php:2
modules
sale
lib
exchange
integration
service
container
item.php
Создано системой
1.10.0