Метод narrowToVisible

private

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

private function narrowToVisible(StartableTemplateCollection $collection, CollectRequest $request): StartableTemplateCollection

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

Описание

Drops the templates the employee of the request may not see. The narrowing is done over the result and never over the cache: the employee is not part of the cache key, so a cached selection narrowed once would be handed to the next employee as his own.

Параметры

2
Имя Тип По умолчанию Флаги
$collection StartableTemplateCollection —
—
$request CollectRequest —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Starter/Template/Start/CollectorService.php
Расположение метода в файле
Строки 76–104

Исходный код

PHP