Метод compareActivityKeys

private static

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

private static function compareActivityKeys(string $name, array $original, array $rebuilt, array &$inexpressible): void

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

Описание

A key of the activity itself beside the ones compared above: 'Document', the return properties of an activity a complex wrapper runs inside itself, whatever else the designer wrote there. The source states such a key in the tail of the step ('_activity' of TPL-05) and nowhere else, so a key that came back otherwise is one the round trip did not carry - the way a sixth field at the root of the template is, see compareRootData() and compareRootActivity(). A key present on one side alone counts as a difference even where both sides carry nothing: a node without a 'Document' key and a node whose 'Document' is null are two different templates, and the revision of the agent is a hash of the tree as it stands (TemplateRevisionService::calculateRevision()).

Параметры

4
Имя Тип По умолчанию Флаги
$name string —
—
$original array —
—
$rebuilt array —
—
$inexpressible array —
by-ref

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/TemplateReverser/TemplateComparator.php
Расположение метода в файле
Строки 788–819

Исходный код

PHP