Elgg  Version 3.0
breadcrumbs.php
Go to the documentation of this file.
1 <?php
19 $breadcrumbs = elgg_extract('breadcrumbs', $vars);
20 if ($breadcrumbs === false) {
21  return;
22 }
23 if (is_string($breadcrumbs)) {
25  return;
26 }
27 
28 $breadcrumbs = elgg_view('navigation/breadcrumbs', $vars);
29 if (!$breadcrumbs) {
30  return;
31 }
32 ?>
33 <div class="elgg-layout-breadcrumbs clearfix">
34  <?= $breadcrumbs ?>
35 </div>
36 
elgg echo
Translates a string.
Definition: languages.js:43
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1131
$vars['type']
Definition: save.php:11
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246