method
public
static
OrderPropsRelationTable::getRelationsByPropertyIdList()
Сигнатура
public static getRelationsByPropertyIdList(array<string|int, mixed> $propertyIds) : array<string|int, mixed>
Параметры
$propertyIds
array<string|int, mixed>
Возвращаемое значение
array<string|int, mixed>
Как применяется в OrderPropsRelationTable
OrderPropsRelationTable::getRelationsByPropertyIdList() — метод класса \Bitrix\Sale\Internals\OrderPropsRelationTable модуля «Интернет-магазин». Это ORM-сущность D7 (наследник DataManager): строки читаются как объекты EO_OrderPropsRelation, наборы — как EO_OrderPropsRelation_Collection.
Статический метод — вызывается через имя класса OrderPropsRelationTable, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Sale\Internals\OrderPropsRelationTable;
Loader::includeModule('sale');
$propertyIds = [];
$result = OrderPropsRelationTable::getRelationsByPropertyIdList($propertyIds);
// $result: array<string|int, mixed>Собственные методы OrderPropsRelationTable
Исходный файл: source/sale/lib/internals/orderprops_relation.php:84

