Метод uniqueIds

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

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

Путь к исходному файлу строки 112–138
~/bitrix/modulesim/lib/V2/Message/BlocksBuilder/Entity/Blocks/FormBlock.php

Исходный код

PHP
private

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

private function uniqueIds(): void

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

Описание

Makes element (elements) and button (buttons) ids unique against a SINGLE shared pool — an id must be unique within the whole message, not just within its own collection. ButtonCollection::create() already deduplicates button ids among themselves but is unaware of form field ids — this pass additionally resolves collisions between elements and buttons.