Bitrix API

CommonUserDto extends Dto

FinalYes

Table of Contents

Properties

$avatarSize100  : string|null
$avatarSizeOriginal  : string|null
$email  : string|null
$fullName  : string|null
$id  : int
$isAdmin  : bool|null
$isCollaber  : bool|null
$isExtranet  : bool|null
$lastName  : string|null
$link  : string|null
$login  : string|null
$name  : string|null
$personalMobile  : string|null
$personalPhone  : string|null
$secondName  : string|null
$workPhone  : string|null
$workPosition  : string|null

Methods

__construct()  : mixed
getCachedCasts()  : array<string|int, mixed>
getCasts()  : array<string, Caster>
Method returns map, where key must relate to public property, and value specifies type of this property
jsonSerialize()  : mixed
make()  : mixed
toArray()  : array<string|int, mixed>

Properties

$avatarSizeOriginal

public string|null $avatarSizeOriginal = null

Methods

__construct()

public __construct(int $id[, string|null $login = null ][, string|null $name = null ][, string|null $lastName = null ][, string|null $secondName = null ][, string|null $fullName = null ][, string|null $email = null ][, string|null $workPhone = null ][, string|null $workPosition = null ][, string|null $link = null ][, string|null $avatarSizeOriginal = null ][, string|null $avatarSize100 = null ][, bool|null $isAdmin = null ][, bool|null $isCollaber = null ][, bool|null $isExtranet = null ][, string|null $personalMobile = null ][, string|null $personalPhone = null ]) : mixed
Parameters
$id : int
$login : string|null = null
$name : string|null = null
$lastName : string|null = null
$secondName : string|null = null
$fullName : string|null = null
$email : string|null = null
$workPhone : string|null = null
$workPosition : string|null = null
$link : string|null = null
$avatarSizeOriginal : string|null = null
$avatarSize100 : string|null = null
$isAdmin : bool|null = null
$isCollaber : bool|null = null
$isExtranet : bool|null = null
$personalMobile : string|null = null
$personalPhone : string|null = null

getCachedCasts()

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

getCasts()

Method returns map, where key must relate to public property, and value specifies type of this property

public getCasts() : array<string, Caster>

use type hints and attribute \Bitrix\Mobile\Dto\Attributes\Collection instead

Return values
array<string, Caster>

property name => typecaster object

jsonSerialize()

public jsonSerialize() : mixed

make()

public static make([array<string|int, mixed>|null $fields = null ]) : mixed
Parameters
$fields : array<string|int, mixed>|null = null

toArray()

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

        
On this page

Search results