ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
breadcrumbs.php File Reference

Go to the source code of this file.

Functions

 breadcrumbs ()
 

Function Documentation

◆ breadcrumbs()

breadcrumbs ( )

Definition at line 2 of file breadcrumbs.php.

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

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

3 {
4  global $DIC;
5  $renderer = $DIC->ui()->renderer();
6  $f = $DIC->ui()->factory();
7 
8  $entry =
9 
10  $crumbs = array(
11  $f->link()->standard("entry1", '#'),
12  $f->link()->standard("entry2", '#'),
13  $f->link()->standard("entry3", '#'),
14  $f->link()->standard("entry4", '#')
15  );
16 
17  $bar = $f->breadcrumbs($crumbs);
18 
19  $bar_extended = $bar->withAppendedItem(
20  $f->link()->standard("entry5", '#')
21  );
22 
23  return $renderer->render($bar)
24  . $renderer->render($bar_extended);
25 }
$DIC
Definition: xapitoken.php:46
+ Here is the caller graph for this function: