Elgg  Version 1.9
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 ));
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1464
elgg_view_menu($menu_name, array $vars=array())
Render a menu.
Definition: views.php:687
elgg echo
Translates a string.
Definition: languages.js:43
if(file_exists($welcome)) $vars
Definition: upgrade.php:93