3namespace Bitrix\Iblock\Grid\Row\Assembler;
5use Bitrix\Main\Grid\Row\Assembler\Field\UserFieldAssembler;
12 private string $profilePathTemplate;
16 parent::__construct($columnIds);
18 $this->profilePathTemplate = $profilePathTemplate;
21 private function getProfilePath(
int $userId): string
23 return str_replace(
'#ID#',
$userId, $this->profilePathTemplate);
34 return "<a href=\"{$profilePath}\" target='_blank' bx-tooltip-user-id='{$userId}'>{$userName}</a>";
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
loadUserName(int $userId)
__construct(array $columnIds, string $profilePathTemplate)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
htmlspecialcharsbx($string, $flags=ENT_COMPAT, $doubleEncode=true)