Метод checkCrmBoundary
Сигнатура метода
private function checkCrmBoundary(int $entityTypeId, int $entityId, bool $hideFailure = false): bool
Возвращает:
bool
Описание
A missing entity and a closed one are refused by the same error on purpose: a separate code for either of them would let anyone tell existing CRM entities from missing ones by trying ids.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$entityTypeId
|
int
|
—
|
—
|
$entityId
|
int
|
—
|
—
|
$hideFailure
|
bool
|
false
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/controller/mail/draft.php
Расположение метода в файле
Строки
151–167