RemindCompareManager::compare

  1. Bitrix24 API (v. 23.675.0)
  2. calendar
  3. RemindCompareManager
  4. compare
  • Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/core/managers/compare/remindcomparemanager.php
  • Класс: BitrixCalendarCoreManagersCompareRemindCompareManager
  • Вызов: RemindCompareManager::compare
protected function compare(): void
{
	$this->diff = array_udiff(
		$this->currentCollection->getCollection(),
		$this->originalCollection->getCollection(),
		[$this, 'compareHandler']
	);

	if (
		$this->diff
		|| $this->originalCollection->count() !== $this->currentCollection->count()
	)
	{
		$this->isEqual = false;
	}
}

Добавить комментарий