CBPRestActivity::reInitialize

  1. Bitrix24 API (v. 23.675.0)
  2. bizproc
  3. CBPRestActivity
  4. reInitialize
  • Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/classes/general/restactivity.php
  • Класс: CBPRestActivity
  • Вызов: CBPRestActivity::reInitialize
protected function reInitialize()
{
	parent::ReInitialize();

	$this->IsTimeout = 0;
	$this->eventId = null;
	$activityData = self::getRestActivityData();
	if (!empty($activityData['RETURN_PROPERTIES']))
	{
		foreach ($activityData['RETURN_PROPERTIES'] as $name => $property)
		{
			$this->__set($name, $property['DEFAULT'] ?? null);
		}
	}
}

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