Volatile cache for entities.
More...
Volatile cache for entities.
private
Definition at line 12 of file EntityCache.php.
Elgg\Cache\EntityCache::clear |
( |
| ) |
|
Elgg\Cache\EntityCache::disableCachingForEntity |
( |
|
$guid | ) |
|
Remove this entity from the entity cache and make sure it is not re-added.
- Parameters
-
- Returns
- void
Definition at line 172 of file EntityCache.php.
Elgg\Cache\EntityCache::enableCachingForEntity |
( |
|
$guid | ) |
|
Allow this entity to be stored in the entity cache.
- Parameters
-
- Returns
- void
Definition at line 183 of file EntityCache.php.
Elgg\Cache\EntityCache::get |
( |
|
$guid | ) |
|
Retrieve a entity from the cache.
- Parameters
-
- Returns
- |false false if entity not cached, or not fully loaded
Definition at line 62 of file EntityCache.php.
Elgg\Cache\EntityCache::getByUsername |
( |
|
$username | ) |
|
Returns cached user entity by username.
- Parameters
-
- Returns
- |false
Definition at line 80 of file EntityCache.php.
Elgg\Cache\EntityCache::remove |
( |
|
$guid | ) |
|
Invalidate this class's entry in the cache.
- Parameters
-
- Returns
- void
Definition at line 128 of file EntityCache.php.
const Elgg\Cache\EntityCache::MAX_SIZE = 256 |
The documentation for this class was generated from the following file: