Метод canUpload
Сигнатура метода
public function canUpload(int $entityTypeId, int $entityId, ?int $categoryId, string $fieldName, UserPermissions $userPermissions): bool
Возвращает:
bool
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$entityTypeId
|
int
|
—
|
—
|
$entityId
|
int
|
—
|
—
|
$categoryId
|
?int
|
—
|
—
|
$fieldName
|
string
|
—
|
—
|
$userPermissions
|
UserPermissions
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Integration/Rest/File/FileUploadGateway.php
Расположение метода в файле
Строки
71–88