Elgg  Version 2.3
Public Member Functions | List of all members
Elgg\Cache\PluginSettingsCache Class Reference

In memory cache of (non-user-specific, non-internal) plugin settings. More...

Public Member Functions

 setCachedValues (array $cache)
 Set the settings cache for known plugins. More...
 
 getAll ($entity_guid)
 Get all the non-user, non-internal settings for a plugin. More...
 
 clear ($entity_guid)
 Clear cache for an entity. More...
 
 clearAll ()
 Clear entire cache. More...
 

Detailed Description

In memory cache of (non-user-specific, non-internal) plugin settings.

private

Since
2.1

Definition at line 12 of file PluginSettingsCache.php.

Member Function Documentation

Elgg\Cache\PluginSettingsCache::clear (   $entity_guid)

Clear cache for an entity.

Parameters
int$entity_guidThe GUID of the entity
Returns
void

Definition at line 48 of file PluginSettingsCache.php.

Elgg\Cache\PluginSettingsCache::clearAll ( )

Clear entire cache.

Returns
void

Definition at line 57 of file PluginSettingsCache.php.

Elgg\Cache\PluginSettingsCache::getAll (   $entity_guid)

Get all the non-user, non-internal settings for a plugin.

Parameters
int$entity_guidThe GUID of the entity
Returns
null|string[] null if settings are not loaded for this entity

Definition at line 38 of file PluginSettingsCache.php.

Elgg\Cache\PluginSettingsCache::setCachedValues ( array  $cache)

Set the settings cache for known plugins.

Parameters
array$cacheThe settings from the boot data
Returns
void

Definition at line 27 of file PluginSettingsCache.php.


The documentation for this class was generated from the following file: