Elgg  Version master
Variables
performance.php File Reference

Go to the source code of this file.

Variables

 $tabs = []
 Show performance suggestions / warnings. More...
 
 $tabs []
 
if(function_exists('opcache_get_status') &&opcache_get_status(false)) $memcache_servers = elgg_get_config('memcache_servers')
 
if(elgg_get_config('memcache') &&!empty($memcache_servers) &&\Elgg\Cache\CompositeCache::isMemcacheAvailable()) $redis_servers = elgg_get_config('redis_servers')
 
 if (elgg_get_config( 'redis') &&!empty( $redis_servers) &&\Elgg\Cache\CompositeCache::isRedisAvailable())
 

Variable Documentation

◆ $memcache_servers

if (function_exists( 'opcache_get_status') &&opcache_get_status(false)) $memcache_servers = elgg_get_config('memcache_servers')

Definition at line 23 of file performance.php.

◆ $redis_servers

if (elgg_get_config( 'memcache') &&!empty( $memcache_servers) &&\Elgg\Cache\CompositeCache::isMemcacheAvailable()) $redis_servers = elgg_get_config('redis_servers')

Definition at line 32 of file performance.php.

◆ $tabs [1/2]

$tabs = []

Show performance suggestions / warnings.

Definition at line 6 of file performance.php.

◆ $tabs [2/2]

$tabs[]
Initial value:
= [
'text' => elgg_echo('admin:performance:label:generic'),
'content' => elgg_view('admin/performance/generic'),
'selected' => true,
]
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
Definition: views.php:156

Definition at line 8 of file performance.php.

◆ if

if(elgg_get_config('redis') &&!empty($redis_servers) &&\Elgg\Cache\CompositeCache::isRedisAvailable()) ( elgg_get_config( 'redis') &&!empty( $redis_servers) &&\Elgg\Cache\CompositeCache::isRedisAvailable()  )

Definition at line 33 of file performance.php.