Elgg  Version 1.11
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...
 
 $simple_cache_disabled_class = $is_simple_cache_on ? '' : 'elgg-state-disabled'
 
 $params
 
if(elgg_get_config('simplecache_enabled_in_settings')) $simple_cache_input = elgg_view("input/checkbox", $params)
 
 $simple_cache_warning = ''
 
if(elgg_get_config('simplecache_enabled_in_settings')) $minify_js_input
 
 $minify_css_input
 
 $system_cache_input
 

Variable Documentation

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

Advanced site settings, caching section.

Definition at line 7 of file caching.php.

$minify_css_input
Initial value:
= elgg_view("input/checkbox", array(
'label' => elgg_echo('installation:minify_css:label'),
'name' => 'simplecache_minify_css',
'checked' => (bool)elgg_get_config('simplecache_minify_css'),
'label_class' => $simple_cache_disabled_class,
))
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
$simple_cache_disabled_class
Definition: caching.php:8
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354

Definition at line 35 of file caching.php.

if (elgg_get_config('simplecache_enabled_in_settings')) $minify_js_input
Initial value:
= elgg_view("input/checkbox", array(
'label' => elgg_echo('installation:minify_js:label'),
'name' => 'simplecache_minify_js',
'checked' => (bool)elgg_get_config('simplecache_minify_js'),
'label_class' => $simple_cache_disabled_class,
))
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
$simple_cache_disabled_class
Definition: caching.php:8
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354

Definition at line 28 of file caching.php.

$params
Initial value:
= array(
'label' => elgg_echo('installation:simplecache:label'),
'name' => 'simplecache_enabled',
'checked' => $is_simple_cache_on,
)
$is_simple_cache_on
Advanced site settings, caching section.
Definition: caching.php:7
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21

Definition at line 10 of file caching.php.

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

Definition at line 8 of file caching.php.

if (elgg_get_config('simplecache_enabled_in_settings')) $simple_cache_input = elgg_view("input/checkbox", $params)

Definition at line 19 of file caching.php.

$simple_cache_warning = ''

Definition at line 20 of file caching.php.

$system_cache_input
Initial value:
= elgg_view("input/checkbox", array(
'label' => elgg_echo('installation:systemcache:label'),
'name' => 'system_cache_enabled',
'checked' => (bool)elgg_get_config('system_cache_enabled'),
))
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354

Definition at line 42 of file caching.php.