Bitrix API

Base

AbstractYes

Table of Contents

Methods

decodeSettings()  : array<string|int, mixed>
You need to decode the templates of settings received from the database into the original format
getDefaultSettings()  : array<string|int, mixed>
Get default entity settings
getGroupSettings()  : array<string|int, mixed>
Get group settings from database
getUserSettings()  : array<string|int, mixed>
Get the current user settings from database
setSettings()  : void
Set the group settings to the database
updateGroupSettings()  : void
Update the group settings in the database

Methods

decodeSettings()

You need to decode the templates of settings received from the database into the original format

public abstract static decodeSettings(array<string|int, mixed> $rowSettings) : array<string|int, mixed>
Parameters
$rowSettings : array<string|int, mixed>
Return values
array<string|int, mixed>

getDefaultSettings()

Get default entity settings

public abstract static getDefaultSettings() : array<string|int, mixed>
Return values
array<string|int, mixed>

getGroupSettings()

Get group settings from database

public abstract static getGroupSettings(int $groupId) : array<string|int, mixed>
Parameters
$groupId : int
Return values
array<string|int, mixed>

getUserSettings()

Get the current user settings from database

public abstract static getUserSettings(int $userId) : array<string|int, mixed>
Parameters
$userId : int
Return values
array<string|int, mixed>

setSettings()

Set the group settings to the database

public abstract static setSettings(int $groupId, array<string|int, mixed> $settings) : void
Parameters
$groupId : int
$settings : array<string|int, mixed>

updateGroupSettings()

Update the group settings in the database

public abstract static updateGroupSettings(int $groupId, array<string|int, mixed> $settings) : void
Parameters
$groupId : int
$settings : array<string|int, mixed>

        
On this page

Search results