ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
hook_frontpage.php File Reference

Go to the source code of this file.

Functions

 memcacheMonitor_hook_frontpage (&$links)
 Hook to add the simple consenet admin module to the frontpage. More...
 

Function Documentation

◆ memcacheMonitor_hook_frontpage()

memcacheMonitor_hook_frontpage ( $links)

Hook to add the simple consenet admin module to the frontpage.

Parameters
array&$linksThe links on the frontpage, split into sections.

Definition at line 7 of file hook_frontpage.php.

References $links, and array.

7  {
8  assert('is_array($links)');
9  assert('array_key_exists("links", $links)');
10 
11  $links['config'][] = array(
12  'href' => SimpleSAML\Module::getModuleURL('memcacheMonitor/memcachestat.php'),
13  'text' => array('en' => 'MemCache Statistics'),
14  );
15 
16 }
Attribute-related utility methods.
Create styles array
The data for the language used.
$links