Метод ownerExists
Сигнатура метода
private function ownerExists(EntityType $ownerType, int $ownerId): bool
Возвращает:
bool
Описание
Existence of the owner as the Item layer sees it. {@see AccessMode::Restricted} is what keeps it apart from the permission check that follows: a missing item comes back as `null`, an unreadable one as a data-less stub.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$ownerType
|
EntityType
|
—
|
—
|
$ownerId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Requisite/ClientRequisiteService.php
Расположение метода в файле
Строки
192–199