Elgg  Version master
Variables
navigation.php File Reference

Go to the source code of this file.

Variables

 $entity = elgg_extract('entity', $vars)
 Outputs entity previous/next navigation elements. More...
 
if(!$entity instanceof\ElggEntity) if(!elgg_extract('show_navigation', $vars, false)) $vars ['sort_by'] = 'priority'
 
 $menu = elgg_view_menu('entity_navigation', $vars)
 
 if (!$menu)
 

Variable Documentation

$entity = elgg_extract('entity', $vars)

Outputs entity previous/next navigation elements.

$vars['entity'] Entity used to determine previous/next urls

Definition at line 8 of file navigation.php.

$menu = elgg_view_menu('entity_navigation', $vars)

Definition at line 19 of file navigation.php.

if (!$entity instanceof\ElggEntity) if (!elgg_extract('show_navigation', $vars, false)) $vars['sort_by'] = 'priority'

Definition at line 17 of file navigation.php.

if(!$menu)

Definition at line 20 of file navigation.php.