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

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