Метод compareValues
Сигнатура метода
private function compareValues(mixed $a, mixed $b, bool $numeric): int
Возвращает:
int
Описание
MIN/MAX in the PHP fallback: numeric columns compare by value, everything else lexicographically, so `"10"` vs `"2"` folds the same way a database would order that column type — independent of which provider served the source.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$a
|
mixed
|
—
|
—
|
$b
|
mixed
|
—
|
—
|
$numeric
|
bool
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Service/DataView/CombineEngine.php
Расположение метода в файле
Строки
703–711