Elgg  Version 3.0
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:1523
$item
Definition: item.php:12
elgg echo
Translates a string.
Definition: languages.js:43
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:1131
$vars['type']
Definition: save.php:11