Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс CacheManager

Открытые члены

 setEntityId (int $entityId)
 
 getValue ()
 
 setValue (array $value)
 
 clearCache ()
 
 clearAll ()
 

Открытые статические члены

static getUserCache (?int $userId=null)
 
static getPresetCache (?int $presetId=null)
 

Открытые атрибуты

const GENERAL_PRESET = 'generalPreset'
 
const NOTIFY_PRESET = 'notifyPreset'
 

Подробное описание

См. определение в файле CacheManager.php строка 7

Методы

◆ clearAll()

clearAll ( )

См. определение в файле CacheManager.php строка 108

◆ clearCache()

clearCache ( )

См. определение в файле CacheManager.php строка 99

◆ getPresetCache()

static getPresetCache ( ?int $presetId = null)
static

См. определение в файле CacheManager.php строка 29

◆ getUserCache()

static getUserCache ( ?int $userId = null)
static

См. определение в файле CacheManager.php строка 24

◆ getValue()

getValue ( )
Возвращает
array

if UserCache is selected, it will return an array in the form: array{notifyPreset: int, generalPreset: int}

if PresetCache is selected, it will return an array in the form: array{id:int, name: ?string, sort: int, userId: ?int, general: array, notify: array}

См. определение в файле CacheManager.php строка 68

◆ setEntityId()

setEntityId ( int $entityId)

См. определение в файле CacheManager.php строка 51

◆ setValue()

setValue ( array $value)

См. определение в файле CacheManager.php строка 85

Данные класса

◆ GENERAL_PRESET

const GENERAL_PRESET = 'generalPreset'

См. определение в файле CacheManager.php строка 9

◆ NOTIFY_PRESET

const NOTIFY_PRESET = 'notifyPreset'

См. определение в файле CacheManager.php строка 10