Метод resolveAccessibleBindings

private static

Сигнатура метода

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

Путь к исходному файлу Source
~/bitrix/modulescrm/install/components/bitrix/crm.activity.visit/class.php
Расположение метода в файле
Строки 201–243

Исходный код

PHP