Impact::setStartDatePlanUserTimeGmt

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. Impact
  4. setStartDatePlanUserTimeGmt
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/processor/task/scheduler/result/impact.php
  • Класс: BitrixTasksProcessorTaskSchedulerResultImpact
  • Вызов: Impact::setStartDatePlanUserTimeGmt
public function setStartDatePlanUserTimeGmt($timeString, $preInit = true)
{
	if($preInit)
	{
		$this->getDataPristine(); // ensure that pristine data will be separated BEFORE anything changes
	}

	if((string) $timeString == '')
	{
		$this->startDatePlanGmt = null;
		$this->data['START_DATE_PLAN'] = null;
	}
	else
	{
		$this->startDatePlanGmt = DateTime::createFromUserTimeGmt($timeString);
		$this->data['START_DATE_PLAN'] = DateTime::createFromUserTime($timeString);
	}
}

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