ActivityChange::isDeadlineChanged

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. ActivityChange
  4. isDeadlineChanged
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/counter/monitor/activitychange.php
  • Класс: Bitrix\Crm\Counter\Monitor\ActivityChange
  • Вызов: ActivityChange::isDeadlineChanged
public function isDeadlineChanged(): bool
{
	if ($this->oldDeadline && $this->newDeadline)
	{
		return $this->oldDeadline->getTimestamp() !== $this->newDeadline->getTimestamp();
	}
	if (!$this->oldDeadline && !$this->newDeadline)
	{
		return false;
	}

	return true;
}

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