Метод getActivityAccess

public

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

public function getActivityAccess(): ActivityAccess

Возвращает: ActivityAccess

Описание

What a user may do with an activity. ONE INSTANCE PER HIT, AND THAT IS A REQUIREMENT RATHER THAN AN OPTIMIZATION. The decisions remembered within a hit and the preloaded bindings live in this object, and the step of a pipeline that saves the bindings of an activity forgets it here after a real change. Assembled twice, the two copies would not see each other's invalidation, and a check after a write would answer from a stale decision.

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/Service/Container.php
Расположение метода в файле
Строки 803–815

Исходный код

PHP