Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
river
elements
image.php
Go to the documentation of this file.
1
<?php
10
$item
=
elgg_extract
(
'item'
,
$vars
);
11
if
(!
$item
instanceof
ElggRiverItem
) {
12
return
;
13
}
14
15
echo
elgg_view_entity_icon
(
$item
->getSubjectEntity(),
'small'
);
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:254
elgg_view_entity_icon
elgg_view_entity_icon(\ElggEntity $entity, string $size= 'medium', array $vars=[])
View the icon of an entity.
Definition:
views.php:542
$vars
$vars
Definition:
theme.php:5
$item
$item
Elgg river image.
Definition:
image.php:10
ElggRiverItem
Definition:
ElggRiverItem.php:18
Generated on Sat Dec 21 2024 00:02:54 for Elgg by
1.8.11