File manager - Edit - /home/web/vm-3fadc827.na4u.ru/www/bitrix/modules/sale/lib/property.php
Back
<?php namespace Bitrix\Sale; use Bitrix\Main; use Bitrix\Sale\Internals\OrderPropsRelationTable; use Bitrix\Sale\Internals\OrderPropsTable; /** * Class Property * @package Bitrix\Sale */ class Property extends PropertyBase { /** * @return array * @throws Main\ArgumentException * @throws Main\ObjectPropertyException * @throws Main\SystemException */ protected function loadRelations() { $relations = []; $dbRes = OrderPropsRelationTable::getList([ 'select' => ['ENTITY_ID', 'ENTITY_TYPE'], 'filter' => [ '=PROPERTY_ID' => $this->getId(), '@ENTITY_TYPE' => ['P', 'D'] ] ]); while ($data = $dbRes->fetch()) { $relations[] = $data; } return $relations; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings