Elgg
Version 6.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
object
widget
elements
controls.php
Go to the documentation of this file.
1
<?php
9
echo
elgg_view_menu
(
'widget'
, [
10
'entity'
=>
elgg_extract
(
'widget'
,
$vars
),
11
'show_edit'
=>
elgg_extract
(
'show_edit'
,
$vars
,
true
),
12
'show_access'
=>
elgg_extract
(
'show_access'
,
$vars
),
13
'class'
=>
'elgg-menu-hz'
,
14
]);
elgg_extract
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition:
elgglib.php:256
elgg_view_menu
elgg_view_menu($menu, array $vars=[])
Render a menu.
Definition:
views.php:441
$vars
$vars
Definition:
theme.php:5
Generated on Wed Dec 4 2024 00:00:23 for Elgg by
1.8.11