ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
hook_frontpage.php
Go to the documentation of this file.
1
<?php
7
function
statistics_hook_frontpage
(&
$links
)
8
{
9
assert(
'is_array($links)'
);
10
assert(
'array_key_exists("links", $links)'
);
11
12
$links
[
'config'
][
'statistics'
] =
array
(
13
'href'
=>
SimpleSAML
\Module::getModuleURL(
'statistics/showstats.php'
),
14
'text'
=>
array
(
'en'
=>
'Show statistics'
,
'no'
=>
'Vis statistikk'
),
15
'shorttext'
=>
array
(
'en'
=>
'Statistics'
,
'no'
=>
'Statistikk'
),
16
);
17
$links
[
'config'
][
'statisticsmeta'
] =
array
(
18
'href'
=>
SimpleSAML
\Module::getModuleURL(
'statistics/statmeta.php'
),
19
'text'
=>
array
(
'en'
=>
'Show statistics metadata'
,
'no'
=>
'Vis statistikk metadata'
),
20
'shorttext'
=>
array
(
'en'
=>
'Statistics metadata'
,
'no'
=>
'Statistikk metadata'
),
21
);
22
}
SimpleSAML
Attribute-related utility methods.
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
$links
$links
Definition:
frontpage_auth.php:19
statistics_hook_frontpage
statistics_hook_frontpage(&$links)
Hook to add the modinfo module to the frontpage.
Definition:
hook_frontpage.php:7
libs
composer
vendor
simplesamlphp
simplesamlphp
modules
statistics
hooks
hook_frontpage.php
Generated on Sat Mar 1 2025 19:01:10 for ILIAS by
1.8.13 (using
Doxyfile
)