Метод buildCreatedClientEntityRecord

private

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

private function buildCreatedClientEntityRecord(int $entityTypeId, int $entityId, int $index): array

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

Описание

Builds a CREATED_CLIENT_ENTITIES record describing a client created during this submit. The source field name and the original index (position within COMPANY_DATA / CONTACT_DATA) let the front reuse the identity on the exact control and search box that produced it, avoiding both a cross-control mix-up (client vs my company) and a wrong-box assignment on resubmit.

Параметры

3
Имя Тип По умолчанию Флаги
$entityTypeId int —
—
$entityId int —
—
$index int —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/Service/EditorAdapter.php
Расположение метода в файле
Строки 2352–2360

Исходный код

PHP