Bitrix API

UserUtils

Table of Contents

Methods

getAdminSearchFilter()  : array<string|int, mixed>
getCountryValue()  : mixed
getDepartmentName()  : bool|mixed
getDepartmentNames()  : array<string|int, mixed>
getGroupIds()  : mixed
getTagsContent()  : mixed
getUFContent()  : mixed
getUserSearchFilter()  : array<string|int, mixed>

Methods

getAdminSearchFilter()

public static getAdminSearchFilter(array<string|int, mixed> $fields) : array<string|int, mixed>
Parameters
$fields : array<string|int, mixed>
Return values
array<string|int, mixed>

getCountryValue()

public static getCountryValue([array<string|int, mixed> $params = [] ]) : mixed
Parameters
$params : array<string|int, mixed> = []

getDepartmentName()

public static getDepartmentName(mixed $departmentId) : bool|mixed

Use \Bitrix\HumanResources\Service\Container::getNodeRepository()->findAllByAccessCodes($accessCodes) instead. $accessCodes need to be an array of strings like ['D1', 'D2', ...].

Parameters
$departmentId : mixed
Tags
throws
ArgumentException
throws
LoaderException
throws
ObjectPropertyException
throws
SystemException
Return values
bool|mixed

getDepartmentNames()

public static getDepartmentNames(array<string|int, mixed> $departmentIds) : array<string|int, mixed>

Use \Bitrix\HumanResources\Service\Container::getNodeRepository()->findAllByAccessCodes($accessCodes) instead. $accessCodes need to be an array of strings like ['D1', 'D2', ...].

Parameters
$departmentIds : array<string|int, mixed>
Tags
throws
ArgumentException
throws
LoaderException
throws
ObjectPropertyException
throws
SystemException
Return values
array<string|int, mixed>

getGroupIds()

public static getGroupIds(mixed $userId) : mixed
Parameters
$userId : mixed

getTagsContent()

public static getTagsContent(mixed $userId) : mixed
Parameters
$userId : mixed

getUFContent()

public static getUFContent(mixed $userId) : mixed
Parameters
$userId : mixed

getUserSearchFilter()

public static getUserSearchFilter(array<string|int, mixed> $fields) : array<string|int, mixed>
Parameters
$fields : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results