Метод compareEntityFields
Сигнатура метода
public static function compareEntityFields(array $previousValues, array $currentValues): Difference
Возвращает:
Difference
Описание
Compare fields of a CRM entity and return object that represents a difference between them Since this method is intended to be specifically used on fields of CRM entities, some special and sometimes strange comparisons are performed.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$previousValues
|
array
|
—
|
—
|
$currentValues
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/comparer/comparerbase.php
Расположение метода в файле
Строки
50–57