Bitrix API

UserView implements JsonSerializable

Table of Contents

Interfaces

JsonSerializable

Methods

__construct()  : mixed
getFullName()  : string
getUserAvatar()  : string|null
getUserId()  : int
jsonSerialize()  : array<string|int, mixed>

Methods

__construct()

public __construct(EO_User $user) : mixed
Parameters
$user : EO_User

getFullName()

public getFullName() : string
Return values
string

getUserAvatar()

public getUserAvatar([int $size = 100 ]) : string|null
Parameters
$size : int = 100
Return values
string|null

getUserId()

public getUserId() : int
Return values
int

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results