PHP Класс Elgg\Cache\PluginSettingsCache

С версии: 2.1
Показать файл Открыть проект

Открытые методы

Метод Описание
clear ( integer $entity_guid ) : void Clear cache for an entity
clearAll ( ) : void Clear entire cache
getAll ( integer $entity_guid ) : null | string[] Get all the non-user, non-internal settings for a plugin
setCachedValues ( array $cache ) : void Set the settings cache for known plugins

Описание методов

clear() публичный Метод

Clear cache for an entity
public clear ( integer $entity_guid ) : void
$entity_guid integer The GUID of the entity
Результат void

clearAll() публичный Метод

Clear entire cache
public clearAll ( ) : void
Результат void

getAll() публичный Метод

Get all the non-user, non-internal settings for a plugin
public getAll ( integer $entity_guid ) : null | string[]
$entity_guid integer The GUID of the entity
Результат null | string[] null if settings are not loaded for this entity

setCachedValues() публичный Метод

Set the settings cache for known plugins
public setCachedValues ( array $cache ) : void
$cache array The settings from the boot data
Результат void