Метод isMyCompany
Сигнатура метода
public function isMyCompany(int $companyId): bool
Возвращает:
bool
Описание
Whether the company is one of the seller companies of the portal. Read past the permission check: the answer is a property of the portal, not of what the user may see.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$companyId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Requisite/EntityLinkConsistencyChecker.php
Расположение метода в файле
Строки
327–347