|
Elgg
Version master
|
In memory cache of known metadata values stored by entity. More...
Public Member Functions | |
| __construct (protected Config $config) | |
| Constructor. More... | |
| populateFromEntities (... $guids) | |
| Populate the cache from a set of entities. More... | |
Public Member Functions inherited from Elgg\Cache\CacheService | |
| purge () | |
| Purges the caches. More... | |
| invalidate () | |
| Invalidates the caches. More... | |
| clear () | |
| Clears the caches. More... | |
| save (string $key, mixed $data, null|int|\DateTime $expire_after=null) | |
| Saves data in the cache. More... | |
| load (string $key) | |
| Retrieve the contents of a cached item. More... | |
| delete (string $key) | |
| Deletes the contents of a cached item. More... | |
| isEnabled () | |
| Is the cache enabled. More... | |
| enable () | |
| Enables the cache. More... | |
| disable () | |
| Disables the cache. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Elgg\Cache\CacheService | |
| CompositeCache | $cache |
| bool | $enabled = true |
In memory cache of known metadata values stored by entity.
Definition at line 14 of file MetadataCache.php.
| Elgg\Cache\MetadataCache::__construct | ( | protected Config | $config | ) |
| Elgg\Cache\MetadataCache::populateFromEntities | ( | $guids | ) |
Populate the cache from a set of entities.
| mixed | ...$guids Array of entities or GUIDs |
Definition at line 33 of file MetadataCache.php.