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[
'host'], $server[
'port']);
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_view_module(string $type, string $title, string $body, array $vars=[])
Wrapper function for the module display pattern.
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
if(!empty($password)) $stats
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.