Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
sidebar.php
Go to the documentation of this file.
1 <?php
8 echo elgg_view_menu('extras', array(
9  'sort_by' => 'priority',
10  'class' => 'elgg-menu-hz',
11 ));
12 
13 echo elgg_view('page/elements/owner_block', $vars);
14 
15 echo elgg_view_menu('page', array('sort_by' => 'name'));
16 
17 // optional 'sidebar' parameter
18 if (isset($vars['sidebar'])) {
19  echo $vars['sidebar'];
20 }
$vars['entity']
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342
elgg_view_menu($menu, array $vars=array())
Render a menu.
Definition: views.php:745