1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
base.php
См. документацию.
1
<?php
2
namespace
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity;
3
4
5
use Bitrix\Sale\Exchange\Integration;
6
use Bitrix\Sale\Internals\Fields;
7
8
abstract
class
Base
9
{
10
protected
$fields
;
11
protected
$relation
;
12
protected
$client
;
13
14
public
function
__construct
(
array
$values =
null
)
15
{
16
$this->fields =
new
Fields
($values);
17
}
18
19
abstract
function
getType
();
20
21
public
function
setOwnerTypeId
($value)
22
{
23
$this->fields->set(
'OWNER_TYPE_ID'
, $value);
24
return
$this;
25
}
26
27
public
function
getOwnerTypeId
()
28
{
29
return
$this->fields->get(
'OWNER_TYPE_ID'
);
30
}
31
32
public
function
setOwnerId
($value)
33
{
34
$this->fields->set(
'OWNER_ID'
, $value);
35
return
$this;
36
}
37
38
public
function
getOwnerId
()
39
{
40
return
$this->fields->get(
'OWNER_ID'
);
41
}
42
43
public
function
setOriginatorId
($value)
44
{
45
$this->fields->set(
'ORIGINATOR_ID'
, $value);
46
return
$this;
47
}
48
49
public
function
setOriginId
($value)
50
{
51
$this->fields->set(
'ORIGIN_ID'
, $value);
52
return
$this;
53
}
54
55
public
function
getFieldsValues
()
56
{
57
return
$this->fields->getValues();
58
}
59
60
public
function
setRelation
(
Integration
\
Relation
\
Relation
$relation
)
61
{
62
$this->relation =
$relation
;
63
}
64
68
public
function
getRelation
()
69
{
70
return
$this->relation;
71
}
72
73
public
function
hasRelation
()
74
{
75
return
($this->relation instanceof
Integration
\
Relation
\
Relation
&& $this->relation->getDestinationEntityId()>0);
76
}
77
}
Bitrix\Sale\Exchange\Integration\CRM\Placement\Base
Определения
base.php:11
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\setOwnerId
setOwnerId($value)
Определения
base.php:32
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\setRelation
setRelation(Integration\Relation\Relation $relation)
Определения
base.php:60
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\setOwnerTypeId
setOwnerTypeId($value)
Определения
base.php:21
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\__construct
__construct(array $values=null)
Определения
base.php:14
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\$relation
$relation
Определения
base.php:11
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\getType
getType()
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\getFieldsValues
getFieldsValues()
Определения
base.php:55
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\setOriginId
setOriginId($value)
Определения
base.php:49
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\getOwnerTypeId
getOwnerTypeId()
Определения
base.php:27
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\$fields
$fields
Определения
base.php:10
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\getRelation
getRelation()
Определения
base.php:68
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\getOwnerId
getOwnerId()
Определения
base.php:38
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\$client
$client
Определения
base.php:12
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\hasRelation
hasRelation()
Определения
base.php:73
Bitrix\Sale\Exchange\Integration\Service\Internal\Entity\Base\setOriginatorId
setOriginatorId($value)
Определения
base.php:43
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Catalog\Integration
Bitrix\Main\ORM\Fields
Определения
arrayfield.php:9
Bitrix\Sale\Exchange\Integration\Relation
Определения
relation.php:2
bitrix
modules
sale
lib
exchange
integration
service
internal
entity
base.php
Создано системой
1.14.0