Impact::getStartDateOrCreatedDate

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. Impact
  4. getStartDateOrCreatedDate
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/processor/task/scheduler/result/impact.php
  • Класс: BitrixTasksProcessorTaskSchedulerResultImpact
  • Вызов: Impact::getStartDateOrCreatedDate
private function getStartDateOrCreatedDate($flag = true)
{
	if (
		$flag
		&& empty($this->data['START_DATE_PLAN'])
		&& !empty($this->data['CREATED_DATE'])
	)
	{
		$date = $this->data['CREATED_DATE'];
	}
	else
	{
		$date = ($this->data['START_DATE_PLAN'] ?? null);
	}

	return $date;
}

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