ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
$
c
d
e
f
g
h
i
j
l
m
n
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
§
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
§
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Modules
Pages
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.
php
$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 Thu Feb 27 2025 19:01:33 for ILIAS by
1.8.13 (using
Doxyfile
)