Elgg  Version 4.3
item.php
Go to the documentation of this file.
1 <?php
11 if (!$item instanceof ElggEntity) {
12  return;
13 }
14 
15 if (elgg_extract('type', $vars)) {
16  // recognized type
18 }
elgg_view_list_item($item, array $vars=[])
View an item in a list.
Definition: views.php:1266
$item
A single element of a menu.
Definition: item.php:9
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:547
elgg echo
Translates a string.
Definition: deprecated.js:530
$vars['head']
Definition: html.php:24