3namespace Bitrix\Im\V2\Controller\Settings;
5use Bitrix\Im\V2\Controller\BaseController;
6use Bitrix\Im\V2\Controller\Filter\SettingsCheckAccess;
7use Bitrix\Im\V2\Settings\SettingsError;
8use Bitrix\Im\V2\Settings\UserConfiguration;
9use Bitrix\Main\Engine\CurrentUser;
18 parent::getDefaultPreFilters(),
29 return $userConfiguration->getNotifySettings();
35 $userConfiguration->updateNotifySetting([
50 if (!in_array($scheme, self::ALLOWED_SCHEME,
true))
52 $this->addError(
new SettingsError(SettingsError::WRONG_SCHEME));
59 $userConfiguration->updateGeneralSetting([
64 return $userConfiguration->getNotifySettings();
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
convertCharToBool(string $char, bool $default=false)
switchSchemeAction(string $scheme, CurrentUser $currentUser, ?int $userId=null)
updateAction(int $userId, string $moduleId, string $name, string $type, string $value)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)