Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
property.php
1
<?php
2
3
namespace
Bitrix\Sale
;
4
5
use
Bitrix\Main
;
6
use
Bitrix\Sale\Internals\OrderPropsRelationTable
;
7
use
Bitrix\Sale\Internals\OrderPropsTable
;
8
13
class
Property
extends
PropertyBase
14
{
21
protected
function
loadRelations
()
22
{
23
$relations = [];
24
25
$dbRes = OrderPropsRelationTable::getList([
26
'select'
=> [
'ENTITY_ID'
,
'ENTITY_TYPE'
],
27
'filter'
=> [
28
'=PROPERTY_ID'
=> $this->
getId
(),
29
'@ENTITY_TYPE'
=> [
'P'
,
'D'
]
30
]
31
]);
32
33
while
($data = $dbRes->fetch())
34
{
35
$relations[] = $data;
36
}
37
38
return
$relations;
39
}
40
}
Bitrix\Iblock\Property
Definition
property.php:27
Bitrix\Sale\EntityProperty\getId
getId()
Definition
entityproperty.php:545
Bitrix\Sale\Internals\OrderPropsRelationTable
Definition
orderprops_relation.php:29
Bitrix\Sale\Internals\OrderPropsTable
Definition
orderprops.php:37
Bitrix\Sale\PropertyBase
Definition
propertybase.php:10
Bitrix\Sale\Property\loadRelations
loadRelations()
Definition
property.php:21
Bitrix\Main
Bitrix\Sale
modules
sale
lib
property.php
Создано системой
1.10.0