Elgg  Version 2.3
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 
foreach($class as $index=> $c) $vars["class"]
Definition: icon.php:80
$item
Render an icon.
Definition: icon.php:11
elgg echo
Translates a string.
Definition: languages.js:48
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
$size
Definition: icon.php:14
elgg_view_entity_icon(\ElggEntity $entity, $size= 'medium', $vars=array())
View the icon of an entity.
Definition: views.php:936