Bitrix API

UserDto extends Dto

Table of Contents

Constants

ACTIVE  = 3
FIRED  = 4
INVITE_AWAITING_APPROVE  = 2
INVITED  = 1
NOT_REGISTERED  = 0

Properties

$actions  : array<string|int, mixed>|null
$dateRegister  : string|null
$department  : array<string|int, mixed>|null
$email  : string|null
$employeeStatus  : int|null
$id  : int
$installedApps  : InstalledAppsDto|null
$isExtranetUser  : bool|null
$phoneNumber  : PhoneNumberDto|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>

Constants

INVITE_AWAITING_APPROVE

public mixed INVITE_AWAITING_APPROVE = 2

NOT_REGISTERED

public mixed NOT_REGISTERED = 0

Properties

$actions read-only

public array<string|int, mixed>|null $actions = null

$dateRegister read-only

public string|null $dateRegister = null

$department read-only

public array<string|int, mixed>|null $department = null

$email read-only

public string|null $email = null

$employeeStatus read-only

public int|null $employeeStatus = null

$isExtranetUser read-only

public bool|null $isExtranetUser = null

Methods

__construct()

public __construct(int $id[, array<string|int, mixed>|null $department = null ][, bool|null $isExtranetUser = null ][, InstalledAppsDto|null $installedApps = null ][, int|null $employeeStatus = null ][, string|null $dateRegister = null ][, array<string|int, mixed>|null $actions = null ][, PhoneNumberDto|null $phoneNumber = null ][, string|null $email = null ]) : mixed
Parameters
$id : int
$department : array<string|int, mixed>|null = null
$isExtranetUser : bool|null = null
$installedApps : InstalledAppsDto|null = null
$employeeStatus : int|null = null
$dateRegister : string|null = null
$actions : array<string|int, mixed>|null = null
$phoneNumber : PhoneNumberDto|null = null
$email : 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