7 echo '<p>' .
elgg_echo(
'admin:server:memcache:inactive') .
'</p>';
11 if (class_exists(
'Memcached')) {
12 $memcache =
new Memcached();
14 $memcache =
new Memcache();
18 $memcache->addserver($server[0], $server[1]);
21 if ($memcache instanceof Memcache) {
22 $stats = $memcache->getextendedstats();
24 $stats = $memcache->getStats();
27 foreach (
$stats as $server => $server_stats) {
28 if (empty($server_stats)) {
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
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 echo
Translates a string.
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key
foreach($servers as $server) $stats
elgg_get_config($name, $default=null)
Get an Elgg configuration value.