Метод lazyHiddenCustomFieldNames

private

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

private function lazyHiddenCustomFieldNames(): Closure

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

Описание

A memo over {@see hiddenCustomFieldNames()}: the hidden set is computed on the first custom field met and reused afterwards. A read built only of standard fields never triggers the computation - the closure is created, never called. Created once per read operation and handed to every step that resolves names (select, filter, sort) and to the visibility pass, so one read computes the set once instead of up to four times. The memo lives in the closure, not on the provider: an instance is single-use and {@see withAccessCheck()} / {@see cached()} clone it, so instance state would be misleading.

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

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

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

Исходный код

PHP