Elgg  Version 2.3
Namespaces | Variables
breadcrumbs.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

if(isset($vars['breadcrumbs'])) else
 
if(!is_array($breadcrumbs)||! $breadcrumbs) $attrs ['class'] = elgg_extract_class($vars, ['elgg-menu', 'elgg-breadcrumbs'])
 
 $lis = ''
 
 foreach ( $breadcrumbs as $breadcrumb)
 

Variable Documentation

◆ $attrs

if (!is_array( $breadcrumbs)||! $breadcrumbs) $attrs[ 'class'] = elgg_extract_class($vars, ['elgg-menu', 'elgg-breadcrumbs'])

Definition at line 25 of file breadcrumbs.php.

◆ $lis

$lis = ''

Definition at line 26 of file breadcrumbs.php.

◆ else

if (isset( $vars[ 'breadcrumbs'])) else
Initial value:
{
$breadcrumbs = elgg_get_breadcrumbs()
elgg_get_breadcrumbs()
Returns all breadcrumbs as an array of array('title' => 'Title', 'link' => 'URL')
Definition: navigation.php:289

Definition at line 17 of file breadcrumbs.php.

◆ foreach

foreach($breadcrumbs as $breadcrumb) (   $breadcrumbs as)

Definition at line 28 of file breadcrumbs.php.