ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Link\Bulky
;
6
7
//The Bulky Links in this example point to ilias.de
8
//Note the exact look of the Bulky Links is mostly defined by the
9
//surrounding container.
10
function
base
()
11
{
12
global
$DIC
;
13
$f
=
$DIC
->ui()->factory();
14
$renderer =
$DIC
->ui()->renderer();
15
16
$target = new \ILIAS\Data\URI(
"https://ilias.de"
);
17
18
$ico =
$f
->symbol()->icon()
19
->standard(
'someExample'
,
'Example'
)
20
->withAbbreviation(
'E'
)
21
->withSize(
'medium'
);
22
$link =
$f
->link()->bulky($ico,
'Link to ilias.de with Icon'
, $target);
23
24
$glyph =
$f
->symbol()->glyph()->briefcase();
25
$link2 =
$f
->link()->bulky($glyph,
'Link to ilias.de with Glyph'
, $target);
26
27
return
$renderer->render([
28
$link,
29
$f
->divider()->horizontal(),
30
$link2,
31
]);
32
}
$DIC
global $DIC
Definition:
feed.php:28
ILIAS\UI\examples\Link\Bulky
Definition:
base.php:5
ILIAS\UI\examples\Link\Bulky\base
base()
Definition:
base.php:10
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
src
UI
examples
Link
Bulky
base.php
Generated on Sun Nov 2 2025 22:02:02 for ILIAS by
1.9.4 (using
Doxyfile
)