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' =>
'fieldset',
41 '#class' => [
'elgg-divide-left',
'plm'],
44 '#type' =>
'checkbox',
45 '#label' =>
elgg_echo(
'installation:cache_symlink:label'),
47 'name' =>
'cache_symlink_enabled',
53 '#type' =>
'checkbox',
54 '#label' =>
elgg_echo(
'installation:minify_js:label'),
55 '#help' =>
elgg_echo(
'installation:minify:description'),
56 'name' =>
'simplecache_minify_js',
63 '#type' =>
'checkbox',
64 '#label' =>
elgg_echo(
'installation:minify_css:label'),
65 '#help' =>
elgg_echo(
'installation:minify:description'),
66 'name' =>
'simplecache_minify_css',
76 '#type' =>
'checkbox',
77 '#label' =>
elgg_echo(
'installation:systemcache:label'),
78 '#help' =>
elgg_echo(
'installation:systemcache:description'),
80 'name' =>
'system_cache_enabled',
elgg_view_module(string $type, string $title, string $body, array $vars=[])
Wrapper function for the module display pattern.
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.
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
$is_simple_cache_on
Advanced site settings, caching section.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
$simple_cache_disabled_class
elgg_get_root_path()
Get the project path (where composer is installed), ending with slash.
_elgg_services()
Get the global service provider.
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.