1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
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\Sale\EntityProperty\getId
getId()
Определения
entityproperty.php:542
Bitrix\Sale\PropertyBase
Определения
propertybase.php:10
Bitrix\Sale\Property\loadRelations
loadRelations()
Определения
property.php:21
$data
$data['IS_AVAILABLE']
Определения
.description.php:13
$dbRes
$dbRes
Определения
yandex_detail.php:168
bitrix
modules
sale
lib
property.php
Создано системой
1.14.0