Elgg  Version 2.3
Namespaces | Functions
memcache.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Functions

 is_memcache_available ()
 Return true if memcache is available and configured. More...
 
 _elgg_invalidate_memcache_for_entity ($entity_guid)
 Invalidate an entity in memcache. More...
 
 _elgg_get_memcache ($namespace= 'default')
 Get a namespaced ElggMemcache object (if memcache is available) or a null cache. More...
 

Function Documentation

_elgg_get_memcache (   $namespace = 'default')

Get a namespaced ElggMemcache object (if memcache is available) or a null cache.

Parameters
string$namespaceNamespace to add to all keys used
Returns
ElggMemcache|Elgg private

Definition at line 40 of file memcache.php.

_elgg_invalidate_memcache_for_entity (   $entity_guid)

Invalidate an entity in memcache.

Parameters
int$entity_guidThe GUID of the entity to invalidate
Returns
void private

Definition at line 28 of file memcache.php.

is_memcache_available ( )

Return true if memcache is available and configured.

Returns
bool

Definition at line 16 of file memcache.php.