• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/V2/Settings/Preset/Preset.php
  • Класс: BitrixImV2SettingsPresetPreset
  • Вызов: Preset::saveInCache
private function saveInCache(): Preset
{
	$cache = CacheManager::getPresetCache($this->id);
	$cache->setValue([
		'id' => $this->id,
		'name' => $this->name,
		'sort' => $this->sort,
		'userId' => $this->personalUserId,
		'notify' => $this->notify->getSettings()->getResult(),
		'general' => $this->general->getSettings()->getResult(),
	]);

	return $this;
}