ILIAS  release_8 Revision v8.24
ILIAS\UI\examples\Breadcrumbs Namespace Reference

Functions

 breadcrumbs ()
 

Function Documentation

◆ breadcrumbs()

ILIAS\UI\examples\Breadcrumbs\breadcrumbs ( )

Definition at line 7 of file breadcrumbs.php.

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}
global $DIC
Definition: feed.php:28

References Vendor\Package\$bar, $DIC, and Vendor\Package\$f.

Referenced by ILIAS\UI\Implementation\Component\Layout\Page\Standard\__construct(), and BreadcrumbsTest\getFactory().

+ Here is the caller graph for this function: