Elgg
Version 1.9
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
$subject
=
$vars
[
'item'
]->getSubjectEntity();
11
12
if
(
elgg_in_context
(
'widgets'
)) {
13
echo
elgg_view_entity_icon
(
$subject
,
'tiny'
);
14
}
else
{
15
echo
elgg_view_entity_icon
(
$subject
,
'small'
);
16
}
elgg_view_entity_icon
elgg_view_entity_icon(ElggEntity $entity, $size= 'medium', $vars=array())
View the icon of an entity.
Definition:
views.php:862
elgg_in_context
elgg_in_context($context)
Check if this context exists anywhere in the stack.
Definition:
pageowner.php:273
echo
elgg echo
Translates a string.
Definition:
languages.js:43
$subject
$subject
Elgg river image.
Definition:
image.php:10
$vars
if(file_exists($welcome)) $vars
Definition:
upgrade.php:93
Generated on Sat Dec 21 2024 00:00:36 for Elgg by
1.8.11