• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/user.php
  • Класс: CAllUser
  • Вызов: CAllUser::GetFormattedName
public function GetFormattedName($bUseBreaks = true, $bHTMLSpec = true)
{
	return static::FormatName(CSite::GetNameFormat($bUseBreaks),
		[
			"TITLE" => $this->GetParam("TITLE"),
			"NAME" => $this->GetFirstName(),
			"SECOND_NAME" => $this->GetSecondName(),
			"LAST_NAME" => $this->GetLastName(),
			"LOGIN" => $this->GetLogin(),
		],
		true,
		$bHTMLSpec
	);
}