Elgg  Version master
Functions | Variables
deprecated-6.1.php File Reference

Go to the source code of this file.

Functions

 elgg_get_system_cache ()
 Returns an object suitable for caching system information. More...
 
 elgg_reset_system_cache ()
 Reset the system cache by deleting the caches. More...
 
 elgg_is_system_cache_enabled ()
 Is system cache enabled. More...
 
 elgg_enable_system_cache ()
 Enables the system disk cache. More...
 
 elgg_disable_system_cache ()
 Disables the system disk cache. More...
 
 elgg_is_simplecache_enabled ()
 Is simple cache enabled. More...
 
 elgg_enable_simplecache ()
 Enables the simple cache. More...
 
 elgg_disable_simplecache ()
 Disables the simple cache. More...
 
 elgg_plugin_exists (string $plugin_id)
 Returns if a plugin exists in the system. More...
 

Variables

const ELGG_CACHE_BLACK_HOLE = 1
 Bundle all functions which have been deprecated in Elgg 6.1. More...
 
const ELGG_CACHE_RUNTIME = 2
 
const ELGG_CACHE_FILESYSTEM = 4
 
const ELGG_CACHE_PERSISTENT = 8
 
const ELGG_CACHE_LOCALFILESYSTEM = 32
 

Function Documentation

elgg_disable_simplecache ( )

Disables the simple cache.

Warning
Simplecache is also purged when disabled.
Returns
void
Since
1.8.0

Definition at line 119 of file deprecated-6.1.php.

elgg_disable_system_cache ( )

Disables the system disk cache.

Uses the 'system_cache_enabled' config with a boolean value. Resets the system cache.

Returns
void

Definition at line 78 of file deprecated-6.1.php.

elgg_enable_simplecache ( )

Enables the simple cache.

Returns
void
Since
1.8.0

Definition at line 104 of file deprecated-6.1.php.

elgg_enable_system_cache ( )

Enables the system disk cache.

Uses the 'system_cache_enabled' config with a boolean value. Resets the system cache.

Returns
void

Definition at line 63 of file deprecated-6.1.php.

elgg_get_system_cache ( )

Returns an object suitable for caching system information.

Returns

Definition at line 23 of file deprecated-6.1.php.

elgg_is_simplecache_enabled ( )

Is simple cache enabled.

Returns
bool
Since
1.8.0

Definition at line 91 of file deprecated-6.1.php.

elgg_is_system_cache_enabled ( )

Is system cache enabled.

Returns
bool
Since
2.2.0

Definition at line 48 of file deprecated-6.1.php.

elgg_plugin_exists ( string  $plugin_id)

Returns if a plugin exists in the system.

Warning
This checks only plugins that are registered in the system! If the plugin cache is outdated, be sure to regenerate it with _elgg_generate_plugin_objects() first.
Parameters
string$plugin_idThe plugin ID.
Returns
bool
Since
1.8.0

Definition at line 138 of file deprecated-6.1.php.

elgg_reset_system_cache ( )

Reset the system cache by deleting the caches.

Returns
void

Definition at line 35 of file deprecated-6.1.php.

Variable Documentation

const ELGG_CACHE_BLACK_HOLE = 1

Bundle all functions which have been deprecated in Elgg 6.1.

Definition at line 7 of file deprecated-6.1.php.

const ELGG_CACHE_FILESYSTEM = 4

Definition at line 11 of file deprecated-6.1.php.

const ELGG_CACHE_LOCALFILESYSTEM = 32

Definition at line 15 of file deprecated-6.1.php.

const ELGG_CACHE_PERSISTENT = 8

Definition at line 13 of file deprecated-6.1.php.

const ELGG_CACHE_RUNTIME = 2

Definition at line 9 of file deprecated-6.1.php.