ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ 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
17
function
breadcrumbs
()
18
{
19
global
$DIC
;
20
$renderer
= $DIC->ui()->renderer();
21
$f
= $DIC->ui()->factory();
22
23
$crumbs = array(
24
$f
->link()->standard(
"entry1"
,
'#'
),
25
$f
->link()->standard(
"entry2"
,
'#'
),
26
$f
->link()->standard(
"entry3"
,
'#'
),
27
$f
->link()->standard(
"entry4"
,
'#'
)
28
);
29
30
$bar
=
$f
->breadcrumbs($crumbs);
31
32
$bar_extended = $bar->withAppendedItem(
33
$f
->link()->standard(
"entry5"
,
'#'
)
34
);
35
36
return
$renderer
->render($bar)
37
.
$renderer
->render($bar_extended);
38
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
Vendor\Package\$bar
$bar
Definition:
example_cleaned.php:50
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:25
ILIAS\UI\examples\Breadcrumbs\breadcrumbs
breadcrumbs()
description: > Example showing how to construct Breadcrumbs with an array of Links and extending the...
Definition:
breadcrumbs.php:17
ILIAS\UI\examples\Breadcrumbs
Definition:
breadcrumbs.php:5
components
ILIAS
UI
src
examples
Breadcrumbs
breadcrumbs.php
Generated on Wed Sep 10 2025 15:16:44 for ILIAS by
1.8.13 (using
Doxyfile
)