PHP Class Elgg\Cache\PluginSettingsCache

Since: 2.1
Afficher le fichier Open project: elgg/elgg

Méthodes publiques

Méthode Description
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

Method Details

clear() public méthode

Clear cache for an entity
public clear ( integer $entity_guid ) : void
$entity_guid integer The GUID of the entity
Résultat void

clearAll() public méthode

Clear entire cache
public clearAll ( ) : void
Résultat void

getAll() public méthode

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
Résultat null | string[] null if settings are not loaded for this entity

setCachedValues() public méthode

Set the settings cache for known plugins
public setCachedValues ( array $cache ) : void
$cache array The settings from the boot data
Résultat void