Метод loadOwnerItem
Сигнатура метода
protected function loadOwnerItem(EntityType $ownerType, int $ownerId): ?LegacyItem
Возвращает:
?LegacyItem
Описание
The legacy Item the rows are written within, or `null` when it is gone - the owner was resolved against the read side, and between that and this it may have been deleted.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$ownerType
|
EntityType
|
—
|
—
|
$ownerId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/ProductRow/Handler/AbstractProductRowCommandHandler.php
Расположение метода в файле
Строки
74–77