Метод sortBlocks
Сигнатура метода
private static function sortBlocks(array &$blocks): void
Возвращает:
void
Описание
The order of the blocks, by the comparison legacy makes. It is copied as it stands, quirk included: the declared order of the blocks is what the comparison reads, and what it really answers for a block absent from that declaration is not something a rewrite may decide differently. The one difference is the cast of the answer to an integer, which the comparison of legacy leaves to PHP - the ordering is the same and the deprecation of a boolean answer is not carried over.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$blocks
|
array
|
—
|
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Integration/Calendar/ActivityCalendarSync.php
Расположение метода в файле
Строки
659–672