11 'label' =>
elgg_echo(
'installation:simplecache:label'),
12 'name' =>
'simplecache_enabled',
17 if ($GLOBALS[
'_ELGG']->simplecache_enabled_in_settings) {
18 $params[
'class'] =
'elgg-state-disabled';
19 $params[
'label_class'] =
'elgg-state-disabled';
27 'label' =>
elgg_echo(
'installation:cache_symlink:label'),
28 'name' =>
'cache_symlink_enabled',
35 $params[
'class'] =
'elgg-state-disabled';
36 $params[
'label_class'] =
'elgg-state-disabled';
50 'label' =>
elgg_echo(
'installation:minify_js:label'),
51 'name' =>
'simplecache_minify_js',
57 'label' =>
elgg_echo(
'installation:minify_css:label'),
58 'name' =>
'simplecache_minify_css',
64 '#type' =>
'checkbox',
65 'label' =>
elgg_echo(
'installation:systemcache:label'),
66 'help' =>
elgg_echo(
'installation:systemcache:description'),
67 'name' =>
'system_cache_enabled',
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
_elgg_is_cache_symlinked()
Checks if /cache directory has been symlinked to views simplecache directory.
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
if($cache_symlinked) $symlink_input
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
$is_simple_cache_on
Advanced site settings, caching section.
if($GLOBALS['_ELGG']->simplecache_enabled_in_settings) $simple_cache_input
elgg_format_element($tag_name, array $attributes=array(), $text= '', array $options=array())
Format an HTML element.
$simple_cache_disabled_class
elgg_get_cache_path()
Get the cache directory path for this installation.
elgg_get_root_path()
Get the root directory path for this installation.
elgg echo
Translates a string.
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
elgg_is_system_cache_enabled()
Is system cache enabled.