• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/integration/crm/timelinemanager.php
  • Класс: BitrixTasksIntegrationCRMTimeLineManager
  • Вызов: TimeLineManager::__construct
public function __construct(int $taskId, int $userId = 0)
{
	if (!Loader::includeModule('crm'))
	{
		$this->isAvailable = false;
		return;
	}

	$this->userId = $userId;
	$this->taskId = $taskId;
	$this->taskRepository = new TaskRepository($taskId, $userId);
	$this->eventsController = EventsController::getInstance();
}