ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
breadcrumbs.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Breadcrumbs
;
6
7
function
breadcrumbs
()
8
{
9
global
$DIC
;
10
$renderer = $DIC->ui()->renderer();
11
$f
= $DIC->ui()->factory();
12
13
$crumbs = array(
14
$f
->link()->standard(
"entry1"
,
'#'
),
15
$f
->link()->standard(
"entry2"
,
'#'
),
16
$f
->link()->standard(
"entry3"
,
'#'
),
17
$f
->link()->standard(
"entry4"
,
'#'
)
18
);
19
20
$bar
=
$f
->breadcrumbs($crumbs);
21
22
$bar_extended = $bar->withAppendedItem(
23
$f
->link()->standard(
"entry5"
,
'#'
)
24
);
25
26
return
$renderer->render($bar)
27
. $renderer->render($bar_extended);
28
}
$DIC
global $DIC
Definition:
feed.php:28
Vendor\Package\$bar
$bar
Definition:
example_cleaned.php:50
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
ILIAS\UI\examples\Breadcrumbs\breadcrumbs
breadcrumbs()
Definition:
breadcrumbs.php:7
ILIAS\UI\examples\Breadcrumbs
Definition:
breadcrumbs.php:5
src
UI
examples
Breadcrumbs
breadcrumbs.php
Generated on Sun Aug 31 2025 22:02:48 for ILIAS by
1.8.13 (using
Doxyfile
)