Метод compareWizard
Сигнатура метода
private static function compareWizard(string $name, string $property, mixed $original, mixed $rebuilt, array &$propertyDiffs, array &$approximated, array &$inexpressible): void
Возвращает:
void
Описание
The wizard of the setup activity, held against the rebuilt one in two ways at once. Its elements are matched by the constant they stand for and every field of an element is compared exactly: a field that moved changes what the person setting the agent up has to fill in, and the format states it. What is left - the organization of the wizard: the boundaries of its blocks, their titles, their descriptions, their separators and the order of what stands in them - the build restores approximately, and it makes one note. An element the two sides do not both carry is drift as well: an element of the wizard is how a constant is asked for at all, and losing it is no matter of organization. A constant standing in the wizard twice is neither: the document states its constants as a map of the name of a constant, and the build writes one element per constant, so the second element of the same constant is beyond what the format can write down at all. It used to leave the elements matching one by one and move the organization alone - a note, and notes do not decide isClean() - so a wizard the round trip cannot carry was written as a source of a shipped agent without a word.
Параметры
7| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$name
|
string
|
—
|
—
|
$property
|
string
|
—
|
—
|
$original
|
mixed
|
—
|
—
|
$rebuilt
|
mixed
|
—
|
—
|
$propertyDiffs
|
array
|
—
|
|
$approximated
|
array
|
—
|
|
$inexpressible
|
array
|
—
|
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/TemplateReverser/TemplateComparator.php