Bitrix API

Util

Class Util

Table of Contents

Constants

CP_BITRIX_PATH  = 'https://bitrix24.team'

Methods

activateUser()  : mixed
checkIntegratorActionRestriction()  : mixed
deactivateUser()  : mixed
getAppsActivityTimeout()  : int
getAppsInstallationConfig()  : array<string|int, mixed>
getClientLogo()  : array<string|int, mixed>
getDepartmentEmployees()  : mixed
getEmployeesList()  : array<string|int, mixed>
Returns IDs of users who are in the departments and sub-departments linked to site (multi-portal)
getGroupsId()  : mixed
getLanguageList()  : mixed
getLogo24()  : mixed
getUserFieldDetailConfigUrl()  : Uri
getUserFieldListConfigUrl()  : Uri
getUserStatus()  : mixed
isCurrentUserAdmin()  : mixed
isExtranetUser()  : bool
isIntranetUser()  : bool
removeAdminRights()  : mixed
setAdminRights()  : mixed

Constants

CP_BITRIX_PATH

public mixed CP_BITRIX_PATH = 'https://bitrix24.team'

Methods

activateUser()

public static activateUser(mixed $params) : mixed
Parameters
$params : mixed

checkIntegratorActionRestriction()

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

deactivateUser()

public static deactivateUser(mixed $params) : mixed
Parameters
$params : mixed

getAppsActivityTimeout()

public static getAppsActivityTimeout() : int
Return values
int

getAppsInstallationConfig()

public static getAppsInstallationConfig(int $userId) : array<string|int, mixed>
Parameters
$userId : int
Return values
array<string|int, mixed>
public static getClientLogo([mixed $force = false ]) : array<string|int, mixed>

use Intranet\Portal::getInstance()->getSettings()->getLogo()

Parameters
$force : mixed = false
Return values
array<string|int, mixed>

getDepartmentEmployees()

public static getDepartmentEmployees(mixed $params) : mixed
Parameters
$params : mixed

getEmployeesList()

Returns IDs of users who are in the departments and sub-departments linked to site (multi-portal)

public static getEmployeesList([array<string|int, mixed> $params = array() ]) : array<string|int, mixed>
Parameters
$params : array<string|int, mixed> = array()
Tags
throws
ArgumentException
throws
ArgumentNullException
throws
LoaderException
Return values
array<string|int, mixed>

getGroupsId()

public static getGroupsId() : mixed

getLanguageList()

public static getLanguageList() : mixed

getLogo24()

public static getLogo24() : mixed

getUserFieldDetailConfigUrl()

public static getUserFieldDetailConfigUrl(string $moduleId, string $entityId[, int $fieldId = 0 ]) : Uri
Parameters
$moduleId : string
$entityId : string
$fieldId : int = 0
Return values
Uri

getUserFieldListConfigUrl()

public static getUserFieldListConfigUrl(string $moduleId[, string $entityId = '' ]) : Uri
Parameters
$moduleId : string
$entityId : string = ''
Return values
Uri

getUserStatus()

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

isCurrentUserAdmin()

public static isCurrentUserAdmin() : mixed

isExtranetUser()

public static isExtranetUser([int $userId = null ]) : bool
Parameters
$userId : int = null
Return values
bool

isIntranetUser()

public static isIntranetUser([int $userId = null ]) : bool
Parameters
$userId : int = null
Return values
bool

removeAdminRights()

public static removeAdminRights(mixed $params) : mixed
Parameters
$params : mixed

setAdminRights()

public static setAdminRights(mixed $params) : mixed
Parameters
$params : mixed

        
On this page

Search results