Метод resolveAccessibleBindings
Сигнатура метода
private static function resolveAccessibleBindings($fields, int $userId): ?array
Возвращает:
?array
Описание
The bindings of the request once the acting user may attach an activity to every one of them, or null when the request has to be refused. Called in saveActivity right after the tariff restriction and before any side effect: a refusal has to precede the record file, the photo of the contact and the activity itself. The owner is read strictly - a partly filled pair of fields, an unknown type and an id that is not a plain positive number are refused - while the elements of the sets keep the cast to an integer they have always been read with.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$fields
|
—
|
—
|
—
|
$userId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/install/components/bitrix/crm.activity.visit/class.php