Метод applyCustomFieldVisibility

private

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

private function applyCustomFieldVisibility(array $items, ?Closure $hiddenCustomFields = null): void

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

Описание

Applies per-user UF visibility to the items handed back: under an active access check, the custom fields the access user can't see are dropped from each readable item. A system read (no access check) exposes every UF. Must run on the copies returned to the caller, never on the raw cached snapshot - the cache keeps every UF regardless of who reads it.

Параметры

2
Имя Тип По умолчанию Флаги
$items array —
—
$hiddenCustomFields ?Closure null
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Public/Provider/Item/AbstractItemProvider.php
Расположение метода в файле
Строки 1057–1084

Исходный код

PHP