Метод compareRootData
Сигнатура метода
private static function compareRootData(array $original, array $rebuilt, array &$rootDataDiffs, array &$inexpressible, array $setupConstantIds): void
Возвращает:
void
Описание
Data of the template beside its nodes: the name and the description of the agent, its parameters, its variables and its constants. Nothing of this is a node, so the walk of getNodes() never sees it - and a loss here moves the shipped bytes of the file and the constants a new installation is set up with. The revision of the agent stays where it was: it is a hash of the TEMPLATE tree alone, see EquivalenceReport.
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$original
|
array
|
—
|
—
|
$rebuilt
|
array
|
—
|
—
|
$rootDataDiffs
|
array
|
—
|
|
$inexpressible
|
array
|
—
|
|
$setupConstantIds
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/TemplateReverser/TemplateComparator.php
Расположение метода в файле
Строки
211–266