Метод getScalarFieldsByOrmName
Сигнатура метода
public function getScalarFieldsByOrmName(): array
Возвращает:
array
Описание
Reverse index of the scalar fields: storage column -> descriptor. Lets a reader walk the columns it actually asked for instead of the whole field set of the type ({@see Mapper\ItemFieldMapper::syncFromOrm()}). Relation-backed fields are left out on purpose: `phones`, `emails`, `webs` and `ims` all sit on the single `FM` column, so keying them by column would collapse four fields into one. They are loaded by dedicated Loaders anyway, never by the scalar copy. Built once alongside {@see getFields()} and memoized the same way - the index depends on the entity type only, never on the reader.
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/V2/Internal/Service/Item/FieldRegistry.php