• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/rest/controllers/action/searchaction.php
  • Класс: BitrixTasksRestControllersActionSearchAction
  • Вызов: SearchAction::getPathForTask
private function getPathForTask(int $taskId): string
{
	$userId = $this->getCurrentUser()->getId();
	$pathTemplate = $this->getTaskPathTemplate();

	return CComponentEngine::MakePathFromTemplate($pathTemplate, ['user_id' => $userId, 'task_id' => $taskId]);
}