Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
entity.php
1
<?php
2
3
4
namespace
Bitrix\Sale\Exchange\Integration\Service\Container
;
5
6
7
use
Bitrix\Sale\Internals\Fields
;
8
9
abstract
class
Entity
10
{
11
protected
$fields
;
12
13
public
function
__construct
(array $values =
null
)
14
{
15
$this->fields =
new
Fields
($values);
16
}
17
18
public
function
getId
()
19
{
20
return
$this->fields->get(
'ID'
);
21
}
22
public
function
setId
($value)
23
{
24
$this->fields->set(
'ID'
, $value);
25
return
$this;
26
}
27
28
public
function
getFieldsValues
()
29
{
30
return
$this->fields->getValues();
31
}
32
33
abstract
static
public
function
createFromArray
(array
$fields
);
34
}
Bitrix\Sale\Exchange\Integration\Service\Container\Entity
Definition
entity.php:10
Bitrix\Sale\Exchange\Integration\Service\Container\Entity\getId
getId()
Definition
entity.php:18
Bitrix\Sale\Exchange\Integration\Service\Container\Entity\createFromArray
static createFromArray(array $fields)
Bitrix\Sale\Exchange\Integration\Service\Container\Entity\__construct
__construct(array $values=null)
Definition
entity.php:13
Bitrix\Sale\Exchange\Integration\Service\Container\Entity\getFieldsValues
getFieldsValues()
Definition
entity.php:28
Bitrix\Sale\Exchange\Integration\Service\Container\Entity\setId
setId($value)
Definition
entity.php:22
Bitrix\Sale\Exchange\Integration\Service\Container\Entity\$fields
$fields
Definition
entity.php:11
Bitrix\Sale\Internals\Fields
Definition
fields.php:6
Bitrix\Sale\Exchange\Integration\Service\Container
Definition
collection.php:2
modules
sale
lib
exchange
integration
service
container
entity.php
Создано системой
1.10.0