Elgg  Version 6.1
Variables
caching.php File Reference

Go to the source code of this file.

Variables

 $is_simple_cache_on = (bool) elgg_get_config('simplecache_enabled')
 Advanced site settings, caching section. More...
 
 $params
 
if(elgg() ->config->hasInitialValue('simplecache_enabled')) $params ['checked'] = $is_simple_cache_on
 
 $simple_cache_disabled_class = $is_simple_cache_on ? '' : 'elgg-state-disabled'
 
 $body = elgg_view_field($params)
 
 $cache_symlinked = _elgg_services()->simpleCache->isSymbolicLinked()
 
 $help = elgg_echo('installation:cache_symlink:description')
 

Variable Documentation

$body = elgg_view_field($params)

Definition at line 29 of file caching.php.

$cache_symlinked = _elgg_services()->simpleCache->isSymbolicLinked()

Definition at line 31 of file caching.php.

$help = elgg_echo('installation:cache_symlink:description')

Definition at line 33 of file caching.php.

$is_simple_cache_on = (bool) elgg_get_config('simplecache_enabled')

Advanced site settings, caching section.

Definition at line 7 of file caching.php.

$params
Initial value:
= [
'#type' => 'checkbox'

Definition at line 9 of file caching.php.

if (elgg() ->config->hasInitialValue('simplecache_enabled')) $params['checked'] = $is_simple_cache_on

Definition at line 26 of file caching.php.

$simple_cache_disabled_class = $is_simple_cache_on ? '' : 'elgg-state-disabled'

Definition at line 27 of file caching.php.