См. определение в файле General.php строка 18
◆ __construct()
This class should not be instantiated directly. Use one of the named constructors.
См. определение в файле General.php строка 38
◆ allowedUserBySimpleNotificationSettings()
static allowedUserBySimpleNotificationSettings |
( |
int |
$userId, |
|
|
string |
$notifyType |
|
) |
| |
|
static |
◆ checkingValues()
static checkingValues |
( |
array |
$settings | ) |
|
|
static |
- Аргументы
-
- Возвращает
- array
- Исключения
-
Bitrix\Main\ArgumentNullException
- Исключения
-
Bitrix\Main\ArgumentOutOfRangeException
См. определение в файле General.php строка 588
◆ createWithUserId()
static createWithUserId |
( |
int |
$userId | ) |
|
|
static |
◆ decodeSettings()
static decodeSettings |
( |
array |
$rowSettings | ) |
|
|
static |
Converts a flat array of templates into an array of general settings
- Аргументы
-
- Возвращает
- array
Переопределяет метод предка Base.
См. определение в файле General.php строка 534
◆ encodeSettings()
static encodeSettings |
( |
array |
$settings | ) |
|
|
static |
Converts general settings into a flat array, in which the key is a template, and the value is the value of the setting
- Аргументы
-
- Возвращает
- array
Переопределяет метод предка Base.
См. определение в файле General.php строка 498
◆ fillUserSettings()
◆ filterAllowedUsersBySimpleNotificationSettings()
static filterAllowedUsersBySimpleNotificationSettings |
( |
array |
$userList, |
|
|
string |
$notifyType |
|
) |
| |
|
static |
◆ filterChunk()
static filterChunk |
( |
array |
$userList, |
|
|
string |
$settingName |
|
) |
| |
|
staticprotected |
◆ filterUsersWithSimpleNotifyScheme()
static filterUsersWithSimpleNotifyScheme |
( |
array |
$userList, |
|
|
string |
$settingName |
|
) |
| |
|
staticprotected |
◆ getDefaultSettings()
static getDefaultSettings |
( |
| ) |
|
|
static |
- Возвращает
- array
- Исключения
-
Bitrix\Main\ArgumentNullException
- Исключения
-
Bitrix\Main\ArgumentOutOfRangeException
Переопределяет метод предка Base.
См. определение в файле General.php строка 94
◆ getGroupSettings()
static getGroupSettings |
( |
int |
$groupId | ) |
|
|
static |
Gets the group's notification settings
- Исключения
-
ObjectPropertyException | |
SystemException | |
ArgumentException | |
Переопределяет метод предка Base.
См. определение в файле General.php строка 403
◆ getNotifySettingByType()
static getNotifySettingByType |
( |
string |
$notifyType | ) |
|
|
staticprotected |
◆ getUserNotifySchemas()
static getUserNotifySchemas |
( |
array |
$userList | ) |
|
|
staticprotected |
- Аргументы
-
- Возвращает
- array{simple:string, expert:string} must be empty
См. определение в файле General.php строка 292
◆ getUserSettings()
static getUserSettings |
( |
int |
$userId | ) |
|
|
static |
Gets the user's notification settings
- Исключения
-
ArgumentException | |
ObjectPropertyException | |
SystemException | |
Переопределяет метод предка Base.
См. определение в файле General.php строка 174
◆ getValue()
- Аргументы
-
- Возвращает
- mixed
См. определение в файле General.php строка 62
◆ setSettings()
static setSettings |
( |
int |
$groupId, |
|
|
array |
$settings |
|
) |
| |
|
static |
Encodes the received settings and enters them into the database and cache
- Исключения
-
SystemException | |
ArgumentException | |
Переопределяет метод предка Base.
См. определение в файле General.php строка 145
◆ setUserId()
◆ updateGroupSettings()
static updateGroupSettings |
( |
int |
$groupId, |
|
|
array |
$settings |
|
) |
| |
|
static |
Updates the group's notification settings
- Аргументы
-
int | $groupId | |
array | $settings | |
- Исключения
-
Переопределяет метод предка Base.
См. определение в файле General.php строка 438
◆ $instanceList
◆ $userId
◆ $userSettings
◆ ENTITY
◆ PRIVACY_RESULT_ALL
const PRIVACY_RESULT_ALL = 'all' |
◆ PRIVACY_RESULT_CONTACT
const PRIVACY_RESULT_CONTACT = 'contact' |
◆ PRIVACY_RESULT_NOBODY
const PRIVACY_RESULT_NOBODY = 'nobody' |