Elgg  Version 3.0
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)) $params = $vars
 
 $params ['sort_by'] = 'priority'
 
 $menu = elgg_view_menu('entity_navigation', $params)
 
 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', $params)

Definition at line 16 of file navigation.php.

if (!($entity instanceof\ElggEntity)) $params = $vars

Definition at line 13 of file navigation.php.

$params['sort_by'] = 'priority'

Definition at line 14 of file navigation.php.

if(!$menu)

Definition at line 18 of file navigation.php.