EventCompareManager::compareExcludedDates

  1. Bitrix24 API (v. 23.675.0)
  2. calendar
  3. EventCompareManager
  4. compareExcludedDates
  • Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/core/managers/compare/eventcomparemanager.php
  • Класс: BitrixCalendarCoreManagersCompareEventCompareManager
  • Вызов: EventCompareManager::compareExcludedDates
protected function compareExcludedDates(): void
{
	if ($this->originalEvent->getExcludedDateCollection() || $this->event->getExcludedDateCollection())
	{
		$excludedDatesManager = ExcludedDateCompareManager::createInstance(
			$this->originalEvent->getExcludedDateCollection(),
			$this->event->getExcludedDateCollection()
		);
		if (!$excludedDatesManager->isEqual())
		{
			$this->differenceFields['excludedDates'] = $excludedDatesManager
				->getDiffCollection()->toString(';');
		}
	}
}

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