Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
controls.php
Go to the documentation of this file.
1 <?php
9 echo elgg_view_menu('widget', array(
10  'entity' => elgg_extract('widget', $vars),
11  'show_edit' => elgg_extract('show_edit', $vars, true),
12  'sort_by' => 'priority',
13  'class' => 'elgg-menu-hz',
14 ));
$vars['entity']
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:1310
elgg_view_menu($menu, array $vars=array())
Render a menu.
Definition: views.php:745