Bitrix API

Util

Common helper class, for some system methods

Table of Contents

Methods

generateUserUniqueId()  : string
Generate and return User unique id.
getAvatarSrc()  : mixed|null
Get User Profile picture src by file index.

Methods

generateUserUniqueId()

Generate and return User unique id.

public static generateUserUniqueId([string $prefix = '' ]) : string
Parameters
$prefix : string = ''

String to set of prefix of user unique Id.

Return values
string

getAvatarSrc()

Get User Profile picture src by file index.

public static getAvatarSrc(int $avatarId[, int $width = 21 ][, int $height = 21 ]) : mixed|null
Parameters
$avatarId : int

Avatar file id.

$width : int = 21

Width size.

$height : int = 21

Height size.

Return values
mixed|null

        
On this page

Search results