• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/comments/task/commentposter.php
  • Класс: BitrixTasksCommentsTaskCommentPoster
  • Вызов: CommentPoster::parseUserToLinked
private function parseUserToLinked(int $userId): string
{
	$userName = $this->getUserNames([$userId])[$userId];
	return "[USER={$userId}]{$userName}[/USER]";
}