ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
breadcrumbs.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Breadcrumbs
;
22
33
function
breadcrumbs
()
34
{
35
global
$DIC
;
36
$renderer
= $DIC->ui()->renderer();
37
$f
= $DIC->ui()->factory();
38
39
$crumbs = array(
40
$f
->link()->standard(
"entry1"
,
'#'
),
41
$f
->link()->standard(
"entry2"
,
'#'
),
42
$f
->link()->standard(
"entry3"
,
'#'
),
43
$f
->link()->standard(
"entry4"
,
'#'
)
44
);
45
46
$bar
=
$f
->breadcrumbs($crumbs);
47
48
$bar_extended = $bar->withAppendedItem(
49
$f
->link()->standard(
"entry5"
,
'#'
)
50
);
51
52
return
$renderer
->render($bar)
53
.
$renderer
->render($bar_extended);
54
}
$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:26
ILIAS\UI\examples\Breadcrumbs\breadcrumbs
breadcrumbs()
description: > Example showing how to construct Breadcrumbs with an array of Links and extending the...
Definition:
breadcrumbs.php:33
ILIAS\UI\examples\Breadcrumbs
Definition:
breadcrumbs.php:21
components
ILIAS
UI
src
examples
Breadcrumbs
breadcrumbs.php
Generated on Sun Aug 31 2025 23:04:08 for ILIAS by
1.8.13 (using
Doxyfile
)