10 '#type' =>
'checkbox',
11 '#label' =>
elgg_echo(
'installation:simplecache:label'),
12 '#help' =>
elgg_echo(
'installation:simplecache:description'),
13 'name' =>
'simplecache_enabled',
17 if (
elgg()->config->hasInitialValue(
'simplecache_enabled')) {
40 '#type' =>
'checkbox',
41 '#label' =>
elgg_echo(
'installation:cache_symlink:label'),
43 'name' =>
'cache_symlink_enabled',
52 '#type' =>
'checkbox',
53 '#label' =>
elgg_echo(
'installation:minify_js:label'),
55 'name' =>
'simplecache_minify_js',
63 '#type' =>
'checkbox',
64 '#label' =>
elgg_echo(
'installation:minify_css:label'),
66 'name' =>
'simplecache_minify_css',
74 '#type' =>
'checkbox',
75 '#label' =>
elgg_echo(
'installation:systemcache:label'),
76 '#help' =>
elgg_echo(
'installation:systemcache:description'),
78 'name' =>
'system_cache_enabled',
_elgg_is_cache_symlinked()
Checks if /cache directory has been symlinked to views simplecache directory.
elgg_get_asset_path()
Get the asset cache directory path for this installation, ending with slash.
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
$is_simple_cache_on
Advanced site settings, caching section.
elgg_echo($message_key, array $args=[], $language="")
Elgg language module Functions to manage language and translations.
$simple_cache_disabled_class
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
elgg_view_module($type, $title, $body, array $vars=[])
Wrapper function for the module display pattern.
elgg_get_root_path()
Get the project path (where composer is installed), ending with slash.
elgg_is_system_cache_enabled()
Is system cache enabled.
elgg echo
Translates a string.
elgg_get_config($name, $default=null)
Get an Elgg configuration value.