Elgg
Version 2.3
views
default
page
components
column
icon.php
Go to the documentation of this file.
1
<?php
11
$item
=
$vars
[
'item'
];
12
/* @var ElggEntity $item */
13
14
$size
=
elgg_extract
(
'size'
,
$vars
,
'small'
);
15
16
echo
elgg_view_entity_icon
(
$item
,
$size
);
elgg_extract
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:1375
elgg_view_entity_icon
elgg_view_entity_icon(\ElggEntity $entity, $size='medium', $vars=array())
View the icon of an entity.
Definition:
views.php:936
$vars
foreach($class as $index=> $c) $vars["class"]
Definition:
icon.php:80
$item
$item
Render an icon.
Definition:
icon.php:11
$size
$size
Definition:
icon.php:14
Generated on Fri Aug 29 2025 00:00:47 for Elgg by
1.9.1