Метод resolveSelect
Сигнатура метода
private function resolveSelect(ItemSelect $select, ?Closure $hiddenCustomFields = null): ResolvedSelect
Возвращает:
ResolvedSelect
Описание
Resolves an {@see ItemSelect} once into the ORM columns to read and the custom-field (`UF_*`) names to hydrate. Custom fields resolve to their raw column name (ORM expands the UTS/UTM storage on its own); {@see ItemSelect::withCustomFields()} pulls in every UF of the type. An unknown name - neither a standard field nor a known UF - is a hard error (no silent drop). A name without the `UF_` prefix can never be a custom field, so it is rejected without asking the {@see CustomFieldRegistry}: the prefix only shortcuts the lookup, it never replaces the existence check.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$select
|
ItemSelect
|
—
|
—
|
$hiddenCustomFields
|
?Closure
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/V2/Public/Provider/Item/AbstractItemProvider.php