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) {
29 if (empty($server_stats)) {
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg_format_element($tag_name, array $attributes=array(), $text= '', array $options=array())
Format an HTML element.
is_memcache_available()
Return true if memcache is available and configured.
elgg echo
Translates a string.
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.