Go to the source code of this file.
◆ _elgg_cache_init()
◆ _elgg_get_simplecache_root()
_elgg_get_simplecache_root |
( |
| ) |
|
◆ _elgg_get_view_filetype()
_elgg_get_view_filetype |
( |
|
$view | ) |
|
Returns the type of output expected from the view.
css/* views always return "css" js/* views always return "js"
Otherwise, returns "unknown"
- Parameters
-
- Returns
- string @access private
- Examples
- /root/Elgg/engine/lib/cache.php.
Definition at line 200 of file cache.php.
◆ _elgg_load_cache()
◆ _elgg_rmdir()
Recursively deletes a directory, including all hidden files.
- Parameters
-
- Returns
- boolean Whether the dir was successfully deleted. @access private
- Examples
- /root/Elgg/engine/lib/cache.php.
Definition at line 257 of file cache.php.
◆ elgg_disable_simplecache()
elgg_disable_simplecache |
( |
| ) |
|
◆ elgg_disable_system_cache()
elgg_disable_system_cache |
( |
| ) |
|
◆ elgg_enable_simplecache()
elgg_enable_simplecache |
( |
| ) |
|
◆ elgg_enable_system_cache()
elgg_enable_system_cache |
( |
| ) |
|
Enables the system disk cache.
Uses the 'system_cache_enabled' datalist with a boolean value. Resets the system cache.
- Returns
- void
- Examples
- /root/Elgg/engine/lib/cache.php.
Definition at line 92 of file cache.php.
◆ elgg_get_simplecache_url()
elgg_get_simplecache_url |
( |
|
$type, |
|
|
|
$view |
|
) |
| |
◆ elgg_get_system_cache()
elgg_get_system_cache |
( |
| ) |
|
◆ elgg_invalidate_simplecache()
elgg_invalidate_simplecache |
( |
| ) |
|
Deletes all cached views in the simplecache and sets the lastcache and lastupdate time to 0 for every valid viewtype.
- Returns
- bool
- Since
- 1.7.4
- Examples
- /root/Elgg/engine/lib/cache.php.
Definition at line 278 of file cache.php.
◆ elgg_is_simplecache_enabled()
elgg_is_simplecache_enabled |
( |
| ) |
|
◆ elgg_load_system_cache()
elgg_load_system_cache |
( |
|
$type | ) |
|
◆ elgg_register_simplecache_view()
elgg_register_simplecache_view |
( |
|
$view_name | ) |
|
◆ elgg_reset_system_cache()
elgg_reset_system_cache |
( |
| ) |
|
◆ elgg_save_system_cache()
elgg_save_system_cache |
( |
|
$type, |
|
|
|
$data |
|
) |
| |