3namespace Bitrix\Rest\Configuration;
16 private $notificationList;
17 private $holdSaveToBase =
false;
26 $this->setting = $setting;
38 $this->holdSaveToBase =
true;
42 $this->
add(
$result[
'ERROR_ACTION'],
'', self::TYPE_NOTICE);
47 $this->
add(
$result[
'ERROR_MESSAGES'],
'', self::TYPE_ERROR);
50 if (isset(
$result[
'ERROR_EXCEPTION']) &&
$result[
'ERROR_EXCEPTION'])
52 $this->
add(
$result[
'ERROR_EXCEPTION'],
'', self::TYPE_EXCEPTION);
55 $this->holdSaveToBase =
false;
74 $this->notificationList[] = [
83 $this->notificationList[] = [
91 !$this->holdSaveToBase
92 && $this->setting->set(
94 $this->notificationList
106 $result = $this->notificationList;
112 if ($item[
'type'] !==
$filter[
'type'])
__construct(Setting $setting)
add($message, $code, $type)
const SETTING_NOTICE_COLLECTION
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
if(empty($signedUserToken)) $key