См. определение в файле General.php строка 19
◆ __construct()
This class should not be instantiated directly. Use one of the named constructors.
См. определение в файле General.php строка 39
◆ allowedUserBySimpleNotificationSettings()
| allowedUserBySimpleNotificationSettings |
( |
int | $userId, |
|
|
string | $notifyType ) |
|
static |
◆ checkingValues()
| checkingValues |
( |
array | $settings | ) |
|
|
static |
- Аргументы
-
- Возвращает
- array
- Исключения
-
Bitrix\Main\ArgumentNullException
- Исключения
-
Bitrix\Main\ArgumentOutOfRangeException
См. определение в файле General.php строка 633
◆ createWithUserId()
| createWithUserId |
( |
int | $userId | ) |
|
|
static |
◆ decodeSettings()
| decodeSettings |
( |
array | $rowSettings | ) |
|
|
static |
Converts a flat array of templates into an array of general settings
- Аргументы
-
- Возвращает
- array
Переопределяет метод предка Base.
См. определение в файле General.php строка 574
◆ encodeSettings()
| 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 строка 538
◆ fillUserSettings()
◆ filterAllowedUsersBySimpleNotificationSettings()
| filterAllowedUsersBySimpleNotificationSettings |
( |
array | $userList, |
|
|
string | $notifyType ) |
|
static |
◆ filterChunk()
| filterChunk |
( |
array | $userList, |
|
|
string | $settingName ) |
|
staticprotected |
◆ filterGroupSettingsByDefault()
| filterGroupSettingsByDefault |
( |
array | $settings | ) |
|
|
static |
Filter group settings by default settings
Переопределяет метод предка Base.
См. определение в файле General.php строка 445
◆ filterUsersWithSimpleNotifyScheme()
| filterUsersWithSimpleNotifyScheme |
( |
array | $userList, |
|
|
string | $settingName ) |
|
staticprotected |
◆ getDefaultSettings()
- Возвращает
- array
- Исключения
-
Bitrix\Main\ArgumentNullException
- Исключения
-
Bitrix\Main\ArgumentOutOfRangeException
Переопределяет метод предка Base.
См. определение в файле General.php строка 95
◆ getGroupSettings()
| getGroupSettings |
( |
int | $groupId | ) |
|
|
static |
Gets the group's notification settings
- Исключения
-
| ObjectPropertyException | |
| SystemException | |
| ArgumentException | |
Переопределяет метод предка Base.
См. определение в файле General.php строка 410
◆ getNotifySettingByType()
| getNotifySettingByType |
( |
string | $notifyType | ) |
|
|
staticprotected |
◆ getRedefinedSettings()
◆ getUserNotifySchemas()
| getUserNotifySchemas |
( |
array | $userList | ) |
|
|
staticprotected |
- Аргументы
-
- Возвращает
- array{simple:string, expert:string} must be empty
См. определение в файле General.php строка 299
◆ getUserSettings()
| getUserSettings |
( |
int | $userId | ) |
|
|
static |
Gets the user's notification settings
- Исключения
-
| ArgumentException | |
| ObjectPropertyException | |
| SystemException | |
Переопределяет метод предка Base.
См. определение в файле General.php строка 181
◆ getValue()
- Аргументы
-
- Возвращает
- mixed
См. определение в файле General.php строка 63
◆ prepareRawGroupSettings()
| prepareRawGroupSettings |
( |
array | $settings | ) |
|
|
static |
◆ setSettings()
| setSettings |
( |
int | $groupId, |
|
|
array | $settings = [], |
|
|
bool | $forInitialize = false ) |
|
static |
Encodes the received settings and enters them into the database and cache
- Исключения
-
| SystemException | |
| ArgumentException | |
См. определение в файле General.php строка 149
◆ setUserId()
◆ updateGroupSettings()
| updateGroupSettings |
( |
int | $groupId, |
|
|
array | $settings ) |
|
static |
Updates the group's notification settings
- Аргументы
-
| int | $groupId | |
| array | $settings | |
- Исключения
-
Переопределяет метод предка Base.
См. определение в файле General.php строка 478
◆ $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' |
Объявления и описания членов класса находятся в файле: