Elgg  Version 5.1
image.php
Go to the documentation of this file.
1 <?php
11 if (!$item instanceof ElggRiverItem) {
12  return;
13 }
14 
15 echo elgg_view_entity_icon($item->getSubjectEntity(), 'small');
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:254
elgg_view_entity_icon(\ElggEntity $entity, string $size= 'medium', array $vars=[])
View the icon of an entity.
Definition: views.php:563
$vars
Definition: theme.php:5
$item
Elgg river image.
Definition: image.php:10