Метод createLinks

private static

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

private static function createLinks(int $formId, array $ads): array

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

Описание

The links as the mechanism takes them: it rewrites the mappings of every link it is given, so a link whose mappings the input leaves unspecified is handed the ones it already has. Without that, an unspecified list would arrive as an empty one and the mechanism would clear what is stored - a link changed in its account name alone would lose every mapping of its fields. Unspecified means unchanged here as it does everywhere else in an element of a collection.

Параметры

2
Имя Тип По умолчанию Флаги
$formId int —
—
$ads array —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/WebForm/Section/IntegrationSectionWriter.php
Расположение метода в файле
Строки 116–139

Исходный код

PHP