- Модуль: webdav
- Путь к файлу: ~/bitrix/modules/webdav/classes/iblock.php
- Класс: CWebDavIblock
- Вызов: CWebDavIblock::SetCachedSettings
function SetCachedSettings($type, $value)
{
$key = $this->IBLOCK_ID . "_" . intval($this->arRootSection["ID"]);
$cacheID = 'wd_ib_params_' . $key;
if(!array_key_exists($key, self::$arSettingsCache))
{
self::$arSettingsCache[$key] = $this->GetCachedSettings(self::GET_ALL_CACHED_SETTINGS);
}
self::$arSettingsCache[$key][$type] = $value;
$this->CleanCache($cacheID, "settings", array(), true);
$arTags = array("iblock_id_" . $this->IBLOCK_ID);
$this->SetCache($cacheID, "settings", self::$arSettingsCache[$key], $arTags, true);
}